mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 13:54:28 -07:00
license manager
This commit is contained in:
parent
45fd7dc75b
commit
60ebfe321a
13 changed files with 534 additions and 47 deletions
|
@ -383,13 +383,17 @@
|
|||
});
|
||||
|
||||
$('.l-profile__notifications').click(function(){
|
||||
$('.notification-container').toggle();
|
||||
$('.l-profile__notifications').toggleClass('active');
|
||||
if(!$('.l-profile__notifications').hasClass('active')){
|
||||
VE.notifications.get_list();
|
||||
$('.l-profile__notifications').addClass('active');
|
||||
left = $('.l-profile__notifications').offset().left - $('.notification-container').outerWidth() + 28;
|
||||
$('.notification-container').css({left: left+'px'});
|
||||
|
||||
left = $('.l-profile__notifications').offset().left - $('.notification-container').outerWidth() + 28;
|
||||
$('.notification-container').css({left: left+'px'});
|
||||
} else {
|
||||
$('.notification-container').hide();
|
||||
$('.l-profile__notifications').removeClass('active');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
VE.navigation.init();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue