diff --git a/4chan_x.user.js b/4chan_x.user.js index 5a90d6700..6238582dc 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2456,12 +2456,7 @@ }); }, mouseover: function(e) { - /* - http://code.google.com/p/chromium/issues/detail?id=36142 - manipulating img src via javascript will generate a massive memory leak - - instead of manipulating src, we manipulate the entire img - */ var img; + var img; img = $.el('img', { id: 'iHover', src: this.parentNode.href diff --git a/script.coffee b/script.coffee index d49ebb756..f7139490d 100644 --- a/script.coffee +++ b/script.coffee @@ -1853,12 +1853,6 @@ imgHover = $.bind thumb, 'mousemove', ui.hover $.bind thumb, 'mouseout', imgHover.mouseout mouseover: (e) -> - ### - http://code.google.com/p/chromium/issues/detail?id=36142 - manipulating img src via javascript will generate a massive memory leak - - instead of manipulating src, we manipulate the entire img - ### img = $.el 'img' id: 'iHover' src: @parentNode.href