summaryrefslogtreecommitdiff
path: root/www/js/MontageHistoryCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2020-09-07 07:45:14 -0400
committerPliable Pixels <pliablepixels@gmail.com>2020-09-07 07:45:14 -0400
commit0170128d6abb193db01f37962d9aa51c2e39bad1 (patch)
treef8fef1eb390627a1230e4f2de81aee3d6e8314b8 /www/js/MontageHistoryCtrl.js
parent8e6aa82c09051862f6e3969b5935eafe98c32493 (diff)
make sure pullup directive cleans up resize listern
Diffstat (limited to 'www/js/MontageHistoryCtrl.js')
-rw-r--r--www/js/MontageHistoryCtrl.js2
1 files changed, 2 insertions, 0 deletions
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);