From b6be6fa989d182dd7068bd803a62b7a9400320dc Mon Sep 17 00:00:00 2001 From: jlukic Date: Fri, 28 Nov 2014 17:59:46 -0500 Subject: [PATCH] Fix #1306 popup remove typo causing error. --- src/definitions/modules/popup.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/definitions/modules/popup.js b/src/definitions/modules/popup.js index 383837e25..87239df18 100644 --- a/src/definitions/modules/popup.js +++ b/src/definitions/modules/popup.js @@ -310,9 +310,7 @@ $.fn.popup = function(parameters) { removePopup: function() { module.debug('Removing popup'); $.proxy(settings.onRemove, $popup)(element); - $popup - .removePopup() - ; + $popup.remove(); }, save: {