File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 31913191 } ,
31923192 } ) ;
31933193 } else if ( eleMaps [ 'head-command-nextPage' ] . contains ( target ) ) {
3194+ var textSpan = eleMaps [ 'head-command-nextPage' ] . querySelector ( "span" ) ;
3195+ if ( textSpan . innerHTML == i18n ( "loading" ) ) {
3196+ textSpan . innerHTML = i18n ( "loadAll" ) ;
3197+ return ;
3198+ }
3199+ textSpan . innerHTML = i18n ( "loading" ) ;
31943200 self . completePages = [ ] ;
31953201 self . nextPage ( ) ;
31963202 } else if ( eleMaps [ 'head-command-collect' ] . contains ( target ) ) {
39853991 href :location . href ,
39863992 prePage :function ( ) {
39873993 var pageObj = this . getPage ( ) , self = this , textSpan = this . eleMaps [ 'head-command-nextPage' ] . querySelector ( "span" ) ;
3988- textSpan . innerHTML = i18n ( "loading" ) ;
3994+ if ( textSpan . innerHTML != i18n ( "loading" ) ) {
3995+ return ;
3996+ }
39893997 var loadOver = function ( ) {
39903998 textSpan . innerHTML = "<font color='red'>" + i18n ( "loadedAll" ) + "</font>" ;
39913999 setTimeout ( function ( ) { textSpan . innerHTML = i18n ( "loadAll" ) ; } , 1500 ) ;
40564064 } ,
40574065 nextPage :function ( ) {
40584066 var pageObj = this . getPage ( ) , self = this , textSpan = this . eleMaps [ 'head-command-nextPage' ] . querySelector ( "span" ) ;
4059- textSpan . innerHTML = i18n ( "loading" ) ;
4067+ if ( textSpan . innerHTML != i18n ( "loading" ) ) {
4068+ return ;
4069+ }
40604070 var loadOver = function ( ) {
40614071 if ( prefs . gallery . loadAll ) {
40624072 self . curPage = document ;
You can’t perform that action at this time.
0 commit comments