gurl_o/plugins/rainlab/userplus/assets/js/notifications.js

14 lines
429 B
JavaScript
Raw Normal View History

2023-08-01 12:27:33 +00:00
function toggleNotificationsPopover(el) {
if($(el).next().hasClass('notification_area')) {
$(el).request('onLoadNotifications', {
update: { '@notifications-list': '#notification_area' }
})
} else if($(el).next().hasClass('accord_notification')) {
$(el).request('onLoadNotifications', {
update: { '@notifications-list': '#accord_notification' }
})
}
}