aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-10-09 13:35:58 +0200
committerMario Vavti <mario@mariovavti.com>2017-10-09 13:35:58 +0200
commit54a06903230ad87570b3a37161fa888dd38cb389 (patch)
tree45d69a11e941f520a9c7cceddd1f030f8c1d6ae2 /view/theme/redbasic/js
parentec173e7eb2e0b4a0768606365f6463009900f0ea (diff)
downloadvolse-hubzilla-54a06903230ad87570b3a37161fa888dd38cb389.tar.gz
volse-hubzilla-54a06903230ad87570b3a37161fa888dd38cb389.tar.bz2
volse-hubzilla-54a06903230ad87570b3a37161fa888dd38cb389.zip
more new notifications fixes
Diffstat (limited to 'view/theme/redbasic/js')
-rw-r--r--view/theme/redbasic/js/redbasic.js13
1 files changed, 7 insertions, 6 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index c67c67a51..257e7cfb6 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -24,11 +24,6 @@ $(document).ready(function() {
});
}
- if(($(window).width() < 767) && ($('#left_aside_wrapper .widget, #left_aside_wrapper .vcard').length > 0))
- $('#expand-aside').show();
- else
- $('#expand-aside').hide();
-
$('#expand-aside').on('click', toggleAside);
$('section').on('click', function() {
@@ -64,8 +59,14 @@ $(document).ready(function() {
}
});
+ var notifications_parent = $('#notifications')[0].parentElement.id;
$('#notifications-btn-1').click(function() {
- $('#region_3').toggleClass('fs');
+ if($('#notifications').hasClass('fs'))
+ $('#notifications').prependTo('#' + notifications_parent);
+ else
+ $('#notifications').prependTo('body');
+
+ $('#notifications').toggleClass('fs');
if($('#navbar-collapse-2').hasClass('show')){
$('#navbar-collapse-2').removeClass('show');
}