From 1def81b60b99ad2006a2376e7800873badffb439 Mon Sep 17 00:00:00 2001 From: Stoyan Revov Date: Mon, 2 Mar 2015 04:12:38 +0200 Subject: [PATCH] Fixed a memory leak in Popup module --- src/definitions/modules/popup.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/definitions/modules/popup.js b/src/definitions/modules/popup.js index c1bbeaf4f..3391206f3 100644 --- a/src/definitions/modules/popup.js +++ b/src/definitions/modules/popup.js @@ -152,6 +152,9 @@ $.fn.popup = function(parameters) { .off(eventNamespace) .removeData(moduleNamespace) ; + $window + .off('resize' + eventNamespace, module.event.resize) + ; }, event: {