From 0170128d6abb193db01f37962d9aa51c2e39bad1 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Mon, 7 Sep 2020 07:45:14 -0400 Subject: make sure pullup directive cleans up resize listern --- www/js/MontageHistoryCtrl.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'www/js/MontageHistoryCtrl.js') diff --git a/www/js/MontageHistoryCtrl.js b/www/js/MontageHistoryCtrl.js index 8915799e..501c0f48 100644 --- a/www/js/MontageHistoryCtrl.js +++ b/www/js/MontageHistoryCtrl.js @@ -1116,6 +1116,8 @@ angular.module('zmApp.controllers').controller('zmApp.MontageHistoryCtrl', ['$sc viewCleanup(); viewCleaned = true; + //$window.removeEventListener('orientationchange', updateUI); + document.removeEventListener("pause", onPause, false); document.removeEventListener("resume", onResume, false); -- cgit v1.2.3