[Libreoffice-commits] .: bug/bug.xhtml

Loic Dachary loic at kemper.freedesktop.org
Thu Sep 22 05:59:55 PDT 2011


 bug/bug.xhtml |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 49f8c0e109351879eb02f053f02822f03948c9b5
Author: Loic Dachary <loic at dachary.org>
Date:   Thu Sep 22 14:59:36 2011 +0200

    testing version is unreliable
    macosx firefox 4 will say it's version 2.0 in $.browser.version because of rv2.0 in the user agent

diff --git a/bug/bug.xhtml b/bug/bug.xhtml
index 6e1489d..b06decb 100644
--- a/bug/bug.xhtml
+++ b/bug/bug.xhtml
@@ -219,12 +219,6 @@ Expected behavior:
           $('.version').text(window.navigator.userAgent);
         } catch(e) {
         }
-        if($.browser.mozilla &amp;&amp; parseInt($.browser.version) &lt; 3) {
-          unsupported = true;
-        }          
-        if($.browser.opera &amp;&amp; parseInt($.browser.version) &lt; 11) {
-          unsupported = true;
-        }          
         if(unsupported) {
           $('.unsupported').show();
           $('.nojavascript').hide();


More information about the Libreoffice-commits mailing list