aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/js/redbasic.js
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/redbasic/js/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');
}