File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -342,20 +342,18 @@ Viewer.prototype = {
342342 for ( var i = 0 ; i < images . length ; i ++ ) {
343343 var image = images [ i ] ;
344344 image . addEventListener ( 'error' , function ( ) {
345- console . debug ( 'image load error, retry in 1s' ) ;
345+ console . debug ( 'image load error, retry in 1s' , image ) ;
346346 setTimeout ( function ( ) {
347- console . debug ( 'retrying image load' ) ;
347+ console . debug ( 'retrying image load' , image ) ;
348348 var tmp = image . src ;
349349 image . src = '' ;
350350 image . src = tmp ;
351- console . debug ( 'image src reset to ' + tmp ) ;
352351 } , 1000 ) ;
353352 } ) ;
354- console . debug ( 'image reload' ) ;
353+ console . debug ( 'image reload' , image ) ;
355354 var tmp = image . src ;
356355 image . src = '' ;
357356 image . src = tmp ;
358- console . debug ( 'image src reset to ' + tmp ) ;
359357 }
360358 }
361359 } ,
You can’t perform that action at this time.
0 commit comments