aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/cover_photo_widget.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-12-13 15:15:37 -0800
committerzotlabs <mike@macgirvin.com>2016-12-13 15:15:37 -0800
commit23823811e9fcef166f961e5202bab56fc444dae0 (patch)
tree8547e5384f8f742447ab52a9314ed79215a753a4 /view/tpl/cover_photo_widget.tpl
parentca44ce5f8cb5ab78d8d5f33c71f29d943ea91a8e (diff)
parentdce03a36d01efdb0b9882782d1a4575515441127 (diff)
downloadvolse-hubzilla-23823811e9fcef166f961e5202bab56fc444dae0.tar.gz
volse-hubzilla-23823811e9fcef166f961e5202bab56fc444dae0.tar.bz2
volse-hubzilla-23823811e9fcef166f961e5202bab56fc444dae0.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'view/tpl/cover_photo_widget.tpl')
-rwxr-xr-xview/tpl/cover_photo_widget.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/cover_photo_widget.tpl b/view/tpl/cover_photo_widget.tpl
index 2b47270c9..bc1f421bd 100755
--- a/view/tpl/cover_photo_widget.tpl
+++ b/view/tpl/cover_photo_widget.tpl
@@ -53,7 +53,7 @@
}
}
}
- if($('#cover-photo').length) {
+ if($('#cover-photo').length && $('main').css('opacity') < 1) {
$('main').css('opacity', ($(window).scrollTop()/$('#cover-photo').height()).toFixed(1));
}
});