File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 40344034 var isrc = img . getAttribute ( "src" ) ;
40354035 var nimg = new Image ( ) ;
40364036 nimg . src = isrc ;
4037+ nimg . style . display = "none" ;
4038+ document . body . appendChild ( nimg ) ;
40374039 nimg . onload = function ( ) {
40384040 if ( self . _dataCache [ this . src ] ) return ;
40394041 var result = findPic ( this ) ;
40434045 self . loadThumb ( ) ;
40444046 }
40454047 self . _dataCache [ this . src ] = true ;
4048+ document . body . removeChild ( nimg ) ;
40464049 } ;
40474050 } ) ;
40484051 if ( prefs . gallery . loadAll ) self . prePage ( ) ;
41094112 var isrc = img . getAttribute ( "src" ) ;
41104113 var nimg = new Image ( ) ;
41114114 nimg . src = isrc ;
4115+ nimg . style . display = "none" ;
4116+ document . body . appendChild ( nimg ) ;
41124117 nimg . onload = function ( ) {
41134118 if ( self . _dataCache [ this . src ] ) return ;
41144119 var result = findPic ( this ) ;
41184123 self . loadThumb ( ) ;
41194124 }
41204125 self . _dataCache [ this . src ] = true ;
4126+ document . body . removeChild ( this ) ;
41214127 } ;
41224128 } ) ;
41234129 if ( prefs . gallery . loadAll ) self . nextPage ( ) ;
You can’t perform that action at this time.
0 commit comments