catch another global var

This commit is contained in:
rolux 2011-11-11 22:27:52 +00:00
parent ed06db651e
commit 31908adbb1

View file

@ -882,7 +882,7 @@ pandora.resizeWindow = function() {
if (!pandora.user.ui.item) { if (!pandora.user.ui.item) {
pandora.resizeFilters(pandora.$ui.rightPanel.width()); pandora.resizeFilters(pandora.$ui.rightPanel.width());
if (pandora.user.ui.listView == 'clips') { if (pandora.user.ui.listView == 'clips') {
var clipsItems = pandora.getClipsItems(); var clipsItems = pandora.getClipsItems(),
previousClipsItems = pandora.getClipsItems(pandora.$ui.list.options('width')); previousClipsItems = pandora.getClipsItems(pandora.$ui.list.options('width'));
pandora.$ui.list.options({ pandora.$ui.list.options({
width: window.innerWidth width: window.innerWidth