Browse Source

Merge pull request #1896 from revov/next

[Popup] Doesn't remove Window Events on Destroy
pull/1785/merge
Jack Lukic 9 years ago
parent
commit
f77566575e
1 changed files with 3 additions and 0 deletions
  1. 3
      src/definitions/modules/popup.js

3
src/definitions/modules/popup.js

@ -152,6 +152,9 @@ $.fn.popup = function(parameters) {
.off(eventNamespace) .off(eventNamespace)
.removeData(moduleNamespace) .removeData(moduleNamespace)
; ;
$window
.off('resize' + eventNamespace, module.event.resize)
;
}, },
event: { event: {

Loading…
Cancel
Save