aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-11 13:46:17 +0100
committerMario <mario@mariovavti.com>2017-11-11 20:28:22 +0100
commit66338a57578dad34f7db1598365eb43a95c3fe98 (patch)
tree735c8b7f1e21409dd344d4be2b88ac9a434f2ecf
parentebee3e208c0f0bb8c6b84d05a4c9005bf229f054 (diff)
downloadvolse-hubzilla-66338a57578dad34f7db1598365eb43a95c3fe98.tar.gz
volse-hubzilla-66338a57578dad34f7db1598365eb43a95c3fe98.tar.bz2
volse-hubzilla-66338a57578dad34f7db1598365eb43a95c3fe98.zip
dedicate the first click to slideup the cover again but make sure the nav buttons remain functional
-rwxr-xr-xview/tpl/cover_photo_widget.tpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/view/tpl/cover_photo_widget.tpl b/view/tpl/cover_photo_widget.tpl
index 7404a740c..d0f68e002 100755
--- a/view/tpl/cover_photo_widget.tpl
+++ b/view/tpl/cover_photo_widget.tpl
@@ -8,8 +8,7 @@
aside_padding_top = parseInt($('aside').css('padding-top'));
section_padding_top = parseInt($('section').css('padding-top'));
- $('#cover-photo').on('click', slideUpCover);
- $('#cover-photo').on('keyup', slideUpCover);
+ $(document).on('click mouseup keyup', slideUpCover);
if($('#cover-photo').length && $(window).width() > 755) {
if($(window).scrollTop() < $('#cover-photo').height()) {