Removed shadow from top notification bar

This commit is contained in:
Djamil Legato
2019-02-11 16:40:23 -08:00
parent f5dcefedd4
commit 8316219e88
2 changed files with 5 additions and 5 deletions

View File

@@ -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]));
}
};

File diff suppressed because one or more lines are too long