mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-07-07 10:32:19 +02:00
Removed shadow from top notification bar
This commit is contained in:
@@ -32,7 +32,7 @@ class Notifications {
|
||||
const container = $('.top-notifications-container');
|
||||
const dummy = $('<div />').html(notification);
|
||||
|
||||
container.removeClass('hidden').addClass('default-box-shadow').append(dummy.children());
|
||||
container.removeClass('hidden').append(dummy.children());
|
||||
dummy.children().slideDown(150);
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ class Notifications {
|
||||
dummy.children().slideDown(150);
|
||||
}
|
||||
|
||||
processLocation(location, notification) {
|
||||
static processLocation(location, notification) {
|
||||
switch (location) {
|
||||
case 'feed':
|
||||
Notifications.showNotificationInFeed(notification);
|
||||
@@ -108,7 +108,7 @@ class Notifications {
|
||||
$('#notifications').find('.widget-content > ul').empty();
|
||||
|
||||
if (notifications) {
|
||||
Object.keys(notifications).forEach((location) => this.processLocation(location, notifications[location]));
|
||||
Object.keys(notifications).forEach((location) => Notifications.processLocation(location, notifications[location]));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
4
themes/grav/js/admin.min.js
vendored
4
themes/grav/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user