diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-04-15 19:11:00 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-04-15 19:11:00 +0200 |
commit | 2e79d8d539ebc1830553a49a8080d0356c9d9531 (patch) | |
tree | 80411db7a7e042cc12e3d9b7d53230d3902497da /program/js/common.js | |
parent | b58abd86c596522507442e399a70a7d30430b844 (diff) |
Move more IE<9 specific code to legacy_browser
Diffstat (limited to 'program/js/common.js')
-rw-r--r-- | program/js/common.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/program/js/common.js b/program/js/common.js index ed9488b2c..3f82b6df8 100644 --- a/program/js/common.js +++ b/program/js/common.js @@ -596,20 +596,6 @@ if (!String.prototype.startsWith) { }; } -// Make getElementById() case-sensitive on IE -if (bw.ie) { - document._getElementById = document.getElementById; - document.getElementById = function(id) { - var i = 0, obj = document._getElementById(id); - - if (obj && obj.id != id) - while ((obj = document.all[i]) && obj.id != id) - i++; - - return obj; - } -} - // jQuery plugin to emulate HTML5 placeholder attributes on input elements jQuery.fn.placeholder = function(text) { return this.each(function() { |