File tree Expand file tree Collapse file tree 3 files changed +24
-21
lines changed Expand file tree Collapse file tree 3 files changed +24
-21
lines changed Original file line number Diff line number Diff line change 9797.show-js-error__prev ,
9898.show-js-error__next ,
9999.show-js-error__num {
100- font-size : 9px ;
100+ font-size : 11px ;
101+ }
102+ .show-js-error__next {
103+ margin-left : 1px ;
101104}
102105.show-js-error__num {
103106 margin-right : 5px ;
Original file line number Diff line number Diff line change @@ -311,15 +311,6 @@ var showJSError = {
311311 container : this . _arrows
312312 } ) ;
313313
314- this . _num = this . elem ( {
315- tag : 'span' ,
316- name : 'num' ,
317- props : {
318- innerHTML : this . _i + 1
319- } ,
320- container : this . _arrows
321- } ) ;
322-
323314 this . _next = this . elem ( {
324315 tag : 'input' ,
325316 name : 'next' ,
@@ -338,6 +329,15 @@ var showJSError = {
338329 container : this . _arrows
339330 } ) ;
340331
332+ this . _num = this . elem ( {
333+ tag : 'span' ,
334+ name : 'num' ,
335+ props : {
336+ innerHTML : this . _i + 1
337+ } ,
338+ container : this . _arrows
339+ } ) ;
340+
341341 var append = function ( ) {
342342 document . body . appendChild ( that . _container ) ;
343343 } ;
@@ -477,7 +477,7 @@ var showJSError = {
477477 }
478478
479479 this . _prev . disabled = ! this . _i ;
480- this . _num . innerHTML = this . _i + 1 ;
480+ this . _num . innerHTML = ( this . _i + 1 ) + ' / ' + this . _buffer . length ;
481481 this . _next . disabled = this . _i === this . _buffer . length - 1 ;
482482
483483 this . _show ( ) ;
Original file line number Diff line number Diff line change @@ -311,15 +311,6 @@ var showJSError = {
311311 container : this . _arrows
312312 } ) ;
313313
314- this . _num = this . elem ( {
315- tag : 'span' ,
316- name : 'num' ,
317- props : {
318- innerHTML : this . _i + 1
319- } ,
320- container : this . _arrows
321- } ) ;
322-
323314 this . _next = this . elem ( {
324315 tag : 'input' ,
325316 name : 'next' ,
@@ -338,6 +329,15 @@ var showJSError = {
338329 container : this . _arrows
339330 } ) ;
340331
332+ this . _num = this . elem ( {
333+ tag : 'span' ,
334+ name : 'num' ,
335+ props : {
336+ innerHTML : this . _i + 1
337+ } ,
338+ container : this . _arrows
339+ } ) ;
340+
341341 var append = function ( ) {
342342 document . body . appendChild ( that . _container ) ;
343343 } ;
@@ -477,7 +477,7 @@ var showJSError = {
477477 }
478478
479479 this . _prev . disabled = ! this . _i ;
480- this . _num . innerHTML = this . _i + 1 ;
480+ this . _num . innerHTML = ( this . _i + 1 ) + ' / ' + this . _buffer . length ;
481481 this . _next . disabled = this . _i === this . _buffer . length - 1 ;
482482
483483 this . _show ( ) ;
You can’t perform that action at this time.
0 commit comments