From 4665bf302a19c70cc045d535606fdf62e97fab69 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 21 Oct 2013 17:33:54 +0200 Subject: [PATCH] add noop resize method to info views (so that jquery's resize doesn't get called on window resize) - fixes #1905 --- static/js/infoView.indiancinema.js | 2 ++ static/js/infoView.padma.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/static/js/infoView.indiancinema.js b/static/js/infoView.indiancinema.js index 2dc63a11..09c775a1 100644 --- a/static/js/infoView.indiancinema.js +++ b/static/js/infoView.indiancinema.js @@ -1052,6 +1052,8 @@ pandora.ui.infoView = function(data) { toggleIconSize(); }; + that.resize = Ox.noop; + that.bindEvent({ pandora_icons: that.reload, pandora_showsiteposters: function() { diff --git a/static/js/infoView.padma.js b/static/js/infoView.padma.js index 71c64e42..5c6c5b70 100644 --- a/static/js/infoView.padma.js +++ b/static/js/infoView.padma.js @@ -778,6 +778,8 @@ pandora.ui.infoView = function(data) { toggleIconSize(); }; + that.resize = Ox.noop; + that.bindEvent({ pandora_icons: that.reload, pandora_showsiteposters: function() {