File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,10 +78,14 @@ a:hover {
7878 color : # 62c462 !important ;
7979}
8080
81+ # top_pagination {
82+ scroll-margin-top : 75px ;
83+ }
84+
8185.page-item .active .page-link {
8286 z-index : 3 ;
8387 color : # fff ;
84- background-color : # ee1b2f ;
88+ background-color : # ee1b2f !important ;
8589 border-color : transparent;
8690}
8791
Original file line number Diff line number Diff line change 3333 else {
3434 $ ( "#process_" + pid + " ul.pagination" ) . html ( paginationbar ( parseInt ( $ ( "#process_" + pid ) . data ( "length" ) ) , pagenum ) ) ;
3535 $ ( "#process_" + pid + " ul.pagination a" ) . click ( function ( e ) {
36+ e . preventDefault ( ) ;
3637 var t = $ ( e . target ) ;
37- load_chunk ( t . parents ( "#process_" + pid ) . data ( "pid" ) , parseInt ( t . text ( ) ) ) ;
38+ $ ( `#process_${ pid } #top_pagination` ) [ 0 ] . scrollIntoView ( ) ;
39+ load_chunk ( pid , parseInt ( t . text ( ) ) ) ;
3840 } ) ;
3941 typeof callback === 'function' && callback ( ) ;
4042 }
Original file line number Diff line number Diff line change 9696 else {
9797 $ ( "#process_" + pid + " div.pagination ul" ) . html ( paginationbar ( 0 , 0 ) ) ;
9898 $ ( "#process_" + pid + " div.pagination a" ) . click ( function ( e ) {
99+ e . preventDefault ( ) ;
99100 var t = $ ( e . target ) ;
100- load_chunk ( t . parents ( "#process_" + pid ) . data ( "pid" ) , parseInt ( t . text ( ) ) ) ;
101+ $ ( `#process_${ pid } #top_pagination` ) [ 0 ] . scrollIntoView ( ) ;
102+ load_chunk ( pid , parseInt ( t . text ( ) ) ) ;
101103 } ) ;
102104 }
103105 } ) ;
You can’t perform that action at this time.
0 commit comments