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: {