Skip to content

Commit 4428ee7

Browse files
committed
Fix sticky having wrong parent
1 parent d1dbe9e commit 4428ee7

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

server/files/javascript/docs.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,6 @@ semantic.ready = function() {
467467
$sticky.sticky({
468468
silent: true,
469469
context: $container,
470-
container: $('html'),
471470
offset: 30
472471
});
473472
$followMenu
@@ -1261,7 +1260,6 @@ semantic.ready = function() {
12611260
$tocSticky
12621261
.sticky({
12631262
silent: true,
1264-
container: $('html'),
12651263
context: $fullHeightContainer
12661264
})
12671265
;
@@ -1285,7 +1283,6 @@ semantic.ready = function() {
12851283
$(this).find('> .rail .ui.sticky, .fixed .ui.sticky')
12861284
.sticky({
12871285
context: $container,
1288-
container: $('html'),
12891286
silent: true,
12901287
offset: 30
12911288
})

0 commit comments

Comments
 (0)