From 5c3781826a3f4368781e5b8d76382727a1c65c96 Mon Sep 17 00:00:00 2001
From: Rufus Pollock
Clear all existing notifications
my.clearNotifications = function() {
- var $notifications = $('.data-explorer .alert-message');
+ var $notifications = $('.data-explorer .alert-messages .alert');
$notifications.remove();
}
diff --git a/recline.js b/recline.js
index f7687886..6fb9311e 100644
--- a/recline.js
+++ b/recline.js
@@ -1312,7 +1312,7 @@ my.notify = function(message, options) {
//
// Clear all existing notifications
my.clearNotifications = function() {
- var $notifications = $('.data-explorer .alert-message');
+ var $notifications = $('.data-explorer .alert-messages .alert');
$notifications.remove();
}
diff --git a/src/view.js b/src/view.js
index ed7988f4..1a108cea 100644
--- a/src/view.js
+++ b/src/view.js
@@ -324,7 +324,7 @@ my.notify = function(message, options) {
//
// Clear all existing notifications
my.clearNotifications = function() {
- var $notifications = $('.data-explorer .alert-message');
+ var $notifications = $('.data-explorer .alert-messages .alert');
$notifications.remove();
}