diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-12-30 20:50:12 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-12-30 20:50:12 +0100 |
commit | 6c7da13cd392e6c06ce7970bfbe4ddbb9854737a (patch) | |
tree | 58f185cd0b555e2683cae78795730f8c89444464 /view | |
parent | 74d69bdedc6ba3edcb2de43bda1be453123292c1 (diff) | |
download | volse-hubzilla-6c7da13cd392e6c06ce7970bfbe4ddbb9854737a.tar.gz volse-hubzilla-6c7da13cd392e6c06ce7970bfbe4ddbb9854737a.tar.bz2 volse-hubzilla-6c7da13cd392e6c06ce7970bfbe4ddbb9854737a.zip |
prevent eventual double scrollbar
Diffstat (limited to 'view')
-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 5f961f6e9..c67f1c167 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'); } } |