diff --git a/docs/view.html b/docs/view.html index 9f35905e..28474dd2 100644 --- a/docs/view.html +++ b/docs/view.html @@ -292,7 +292,7 @@ note this.model and dataset returned are the same
}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();
}