diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-12-30 20:50:12 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-12-31 09:44:16 +0100 |
commit | 62a911a57e665b588f341de5700fe9315f45f9ae (patch) | |
tree | 78df2bdcbc4755df686382076d9fc5391989c600 | |
parent | fcd34e41cafaa77c9d9d46ff60d73c78866fe52a (diff) | |
download | volse-hubzilla-62a911a57e665b588f341de5700fe9315f45f9ae.tar.gz volse-hubzilla-62a911a57e665b588f341de5700fe9315f45f9ae.tar.bz2 volse-hubzilla-62a911a57e665b588f341de5700fe9315f45f9ae.zip |
prevent eventual double scrollbar
-rw-r--r-- | view/js/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js index a6164e602..01d562d1d 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -434,12 +434,12 @@ function contextualHelp() { if(container.hasClass('contextual-help-content-open')) { container.removeClass('contextual-help-content-open'); - $('main').css('top', '') + $('main').css('margin-top', '') } else { container.addClass('contextual-help-content-open'); var mainTop = container.outerHeight(true); - $('main').css('top', mainTop + 'px'); + $('main').css('margin-top', mainTop + 'px'); } } |