aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-10-02 17:57:17 -0700
committerzotlabs <mike@macgirvin.com>2017-10-02 17:57:46 -0700
commit9e24b28376f8274ad4a384d760aee62082eba496 (patch)
treec6d2abb2c9f747cd04cd3d5f8302aa4f78c7d13e /view/tpl
parent5abdee73ee451eb1efd44f0d4a5c6697f36d25b0 (diff)
downloadvolse-hubzilla-9e24b28376f8274ad4a384d760aee62082eba496.tar.gz
volse-hubzilla-9e24b28376f8274ad4a384d760aee62082eba496.tar.bz2
volse-hubzilla-9e24b28376f8274ad4a384d760aee62082eba496.zip
Hubzilla issue #866 allow navbar to be used when cover photo is displayed - also scroll cover photo on keyup event.
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/cover_photo_widget.tpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/view/tpl/cover_photo_widget.tpl b/view/tpl/cover_photo_widget.tpl
index a9c384d2f..7404a740c 100755
--- a/view/tpl/cover_photo_widget.tpl
+++ b/view/tpl/cover_photo_widget.tpl
@@ -8,7 +8,8 @@
aside_padding_top = parseInt($('aside').css('padding-top'));
section_padding_top = parseInt($('section').css('padding-top'));
- $(document).on('click', slideUpCover);
+ $('#cover-photo').on('click', slideUpCover);
+ $('#cover-photo').on('keyup', slideUpCover);
if($('#cover-photo').length && $(window).width() > 755) {
if($(window).scrollTop() < $('#cover-photo').height()) {