license manager

This commit is contained in:
Serghey Rodin 2015-11-02 15:28:16 +02:00
commit 60ebfe321a
13 changed files with 534 additions and 47 deletions

View file

@ -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();