remove comment
This commit is contained in:
parent
0a0e102aea
commit
889a18da0c
@ -2456,12 +2456,7 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
mouseover: function(e) {
|
mouseover: function(e) {
|
||||||
/*
|
var img;
|
||||||
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;
|
|
||||||
img = $.el('img', {
|
img = $.el('img', {
|
||||||
id: 'iHover',
|
id: 'iHover',
|
||||||
src: this.parentNode.href
|
src: this.parentNode.href
|
||||||
|
|||||||
@ -1853,12 +1853,6 @@ imgHover =
|
|||||||
$.bind thumb, 'mousemove', ui.hover
|
$.bind thumb, 'mousemove', ui.hover
|
||||||
$.bind thumb, 'mouseout', imgHover.mouseout
|
$.bind thumb, 'mouseout', imgHover.mouseout
|
||||||
mouseover: (e) ->
|
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'
|
img = $.el 'img'
|
||||||
id: 'iHover'
|
id: 'iHover'
|
||||||
src: @parentNode.href
|
src: @parentNode.href
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user