aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/js/redbasic.js
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-09 18:36:40 -0800
committerzotlabs <mike@macgirvin.com>2017-11-09 18:36:40 -0800
commit71a30cd9a5f5c749e3b76e961876afbd0afa87f9 (patch)
tree81e1a5fc1d52839f8735acbba23064027fece2ac /view/theme/redbasic/js/redbasic.js
parentef27a1ce6c3cdb6f08584e76fa0c012377cadc49 (diff)
parent766a7fb1b46a506e92d62ed0b76e0e0e3e6958a5 (diff)
downloadvolse-hubzilla-71a30cd9a5f5c749e3b76e961876afbd0afa87f9.tar.gz
volse-hubzilla-71a30cd9a5f5c749e3b76e961876afbd0afa87f9.tar.bz2
volse-hubzilla-71a30cd9a5f5c749e3b76e961876afbd0afa87f9.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'view/theme/redbasic/js/redbasic.js')
-rw-r--r--view/theme/redbasic/js/redbasic.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index 04199ea95..3fee0f282 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -1,6 +1,8 @@
/**
* redbasic theme specific JavaScript
*/
+
+var notifications_parent;
$(document).ready(function() {
// CSS3 calc() fallback (for unsupported browsers)
@@ -82,7 +84,7 @@ $(document).ready(function() {
}
});
- var notifications_parent = $('#notifications_wrapper')[0].parentElement.id;
+ notifications_parent = $('#notifications_wrapper')[0].parentElement.id;
$('#notifications-btn').click(function() {
if($('#notifications_wrapper').hasClass('fs'))
$('#notifications_wrapper').prependTo('#' + notifications_parent);