Committer: atyurin
LJSUP-14206: es5-shimU trunk/htdocs/js/basic.js
Modified: trunk/htdocs/js/basic.js =================================================================== --- trunk/htdocs/js/basic.js 2012-11-09 09:16:32 UTC (rev 23276) +++ trunk/htdocs/js/basic.js 2012-11-09 11:16:39 UTC (rev 23277) @@ -1164,8 +1164,9 @@ } }); -// for back compatiblity with legacy code -if (jQuery.browser.msie && Number(jQuery.browser.version) < 9) { +// for back compatiblity with legacy code +// we can't rely on version === 9 because of browser/document mode +if (jQuery.browser.msie) { Function.prototype.bind = function(that) { // .length is 1 var target = this, slice = [].slice;