X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=resources%2Fstartup.js;h=52c320c601165c274bde2bac98d5bb9e9a7d1fea;hb=b87d55834e353a16f6ef056e9bff4a62051a55ea;hp=1e0ca035cf7c0cce562f9bd7bc4d85ba45831cb4;hpb=e2cf4b81dbe9bac6382cffae38e3db3c2dcfb090;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/startup.js b/resources/startup.js index 1e0ca035cf..52c320c601 100644 --- a/resources/startup.js +++ b/resources/startup.js @@ -1,14 +1,14 @@ /** - * This script provides a function which is run to evaluate whether or not to - * continue loading the jquery and mediawiki modules. This code should work on + * This script provides a function which is run to evaluate whether or not to + * continue loading the jquery and mediawiki modules. This code should work on * even the most ancient of browsers, so be very careful when editing. */ /** * Returns false when run in a black-listed browser - * - * This function will be deleted after it's used, so do not expand it to be + * + * This function will be deleted after it's used, so do not expand it to be * generally useful beyond startup - * + * * jQuery has minimum requirements of: * * Firefox 2.0+ * * Internet Explorer 6+ @@ -18,7 +18,7 @@ */ var isCompatible = function() { // IE < 6 - if ( navigator.appVersion.indexOf( 'MSIE' ) !== -1 + if ( navigator.appVersion.indexOf( 'MSIE' ) !== -1 && parseFloat( navigator.appVersion.split( 'MSIE' )[1] ) < 6 ) { return false;