From 5c3781826a3f4368781e5b8d76382727a1c65c96 Mon Sep 17 00:00:00 2001 From: Rufus Pollock Date: Wed, 29 Feb 2012 13:20:54 +0000 Subject: [PATCH] [#55,notify][xs]: correct clearNotifications to use .alert rather that .alert-messages. --- docs/view.html | 2 +- recline.js | 2 +- src/view.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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

}

clearNotifications

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();
 }