Browse Source

#1470, remove popup should not error if called without popup

pull/1484/merge
jlukic 10 years ago
parent
commit
135ff9ee0e
1 changed files with 3 additions and 1 deletions
  1. 4
      src/definitions/modules/popup.js

4
src/definitions/modules/popup.js

@ -311,7 +311,9 @@ $.fn.popup = function(parameters) {
removePopup: function() {
module.debug('Removing popup');
$.proxy(settings.onRemove, $popup)(element);
$popup.remove();
if($popup.size() > 0) {
$popup.remove();
}
},
save: {

Loading…
Cancel
Save