ref: refs/heads/master commit a00f0cfb373fb5cca4ec0ef84ce4e4044e436c39 Author: Josef Reidinger <jreidinger@suse.cz> Date: Wed Nov 18 14:50:13 2009 +0100 use internal number parses instead of own string parsing (bnc#556517) --- webclient/public/javascripts/jquery.badbrowser.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webclient/public/javascripts/jquery.badbrowser.js b/webclient/public/javascripts/jquery.badbrowser.js index f9e8a07..5461037 100644 --- a/webclient/public/javascripts/jquery.badbrowser.js +++ b/webclient/public/javascripts/jquery.badbrowser.js @@ -1,6 +1,6 @@ function badBrowser(){ - if( ($.browser.msie() && parseInt($.browser.version.string()) == 8 ) - || ($.browser.firefox() && parseFloat($.browser.version.string()) >= 3.5 ) + if( ($.browser.msie() && $.browser.version.number() == 8 ) + || ($.browser.firefox() && $.browser.version.number() >= 3.5 ) ) { return false;} return true; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org