jquery.makeCollapsible: Use promise().done instead of when().then
[lhc/web/wiklou.git] / resources / startup.js
index 39302bc..6fa8b3c 100644 (file)
@@ -26,8 +26,8 @@ function isCompatible( ua ) {
        return !(
                // Internet Explorer < 6
                ( ua.indexOf( 'MSIE' ) !== -1 && parseFloat( ua.split( 'MSIE' )[1] ) < 6 ) ||
-               // Firefox < 4
-               ( ua.indexOf( 'Firefox/' ) !== -1 && parseFloat( ua.split( 'Firefox/' )[1] ) < 4 ) ||
+               // Firefox < 3
+               ( ua.indexOf( 'Firefox/' ) !== -1 && parseFloat( ua.split( 'Firefox/' )[1] ) < 3 ) ||
                // BlackBerry < 6
                ua.match( /BlackBerry[^\/]*\/[1-5]\./ ) ||
                // Open WebOS < 1.5
@@ -38,8 +38,8 @@ function isCompatible( ua ) {
                ua.match( /SymbianOS|Series60/ ) ||
                // Any NetFront based browser
                ua.match( /NetFront/ ) ||
-               // Opera Mini < 7
-               ua.match( /Opera Mini\/[0-6]\./ )
+               // Opera Mini, all versions
+               ua.match( /Opera Mini/ )
        );
 }