File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -307,9 +307,6 @@ $.extend( FixedHeader.prototype, {
307
307
itemDom . floating . removeClass ( 'fixedHeader-floating fixedHeader-locked' ) ;
308
308
}
309
309
else {
310
- var docScrollLeft = $ ( document ) . scrollLeft ( ) ;
311
- var docScrollTop = $ ( document ) . scrollTop ( ) ;
312
-
313
310
if ( itemDom . floating ) {
314
311
if ( itemDom . placeholder !== null ) {
315
312
itemDom . placeholder . remove ( ) ;
@@ -379,13 +376,6 @@ $.extend( FixedHeader.prototype, {
379
376
380
377
// Clone widths
381
378
this . _matchWidths ( itemDom . placeholder , itemDom . floating ) ;
382
-
383
- // The above action will remove the table header, potentially causing the table to
384
- // collapse to a smaller size, before it is then re-inserted (append). The result
385
- // can be that the document, if scrolling, can "jump".
386
- $ ( document )
387
- . scrollTop ( docScrollTop )
388
- . scrollLeft ( docScrollLeft ) ;
389
379
}
390
380
} ,
391
381
You can’t perform that action at this time.
0 commit comments