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 2dc63a11f..09c775a1b 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 71c64e42e..5c6c5b709 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() {