aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/cover_photo_widget.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-10-03 09:40:51 +0200
committerMario Vavti <mario@mariovavti.com>2017-10-03 09:40:51 +0200
commitf52e5d90b0b8ca57c249139176729b56dc4e929d (patch)
tree59ed52613612eb62904112850c1a6504d9ee1df9 /view/tpl/cover_photo_widget.tpl
parentc200808fbb01c09d683860a6a65a4111ef1d3051 (diff)
parentf571b753b6af5c92afe86d55b814fb6e8d57ba17 (diff)
downloadvolse-hubzilla-f52e5d90b0b8ca57c249139176729b56dc4e929d.tar.gz
volse-hubzilla-f52e5d90b0b8ca57c249139176729b56dc4e929d.tar.bz2
volse-hubzilla-f52e5d90b0b8ca57c249139176729b56dc4e929d.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'view/tpl/cover_photo_widget.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()) {