From 793429c66c87dacb96cd38c2b594bf06a0329977 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 11 Feb 2012 17:57:58 +0530 Subject: [PATCH] variable scope, add ; --- static/js/pandora/infoView.padma.js | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/static/js/pandora/infoView.padma.js b/static/js/pandora/infoView.padma.js index d9fbfb09f..d533e991d 100644 --- a/static/js/pandora/infoView.padma.js +++ b/static/js/pandora/infoView.padma.js @@ -11,6 +11,7 @@ pandora.ui.infoView = function(data) { MozUserSelect: 'text', WebkitUserSelect: 'text' }, + html, iconRatio = ui.icons == 'posters' ? data.posterRatio : 1, iconSize = ui.infoIconSize, iconWidth = iconRatio > 1 ? iconSize : Math.round(iconSize * iconRatio), @@ -23,6 +24,7 @@ pandora.ui.infoView = function(data) { that = Ox.Element(), + $div, $list, $info = Ox.Element() @@ -138,7 +140,7 @@ pandora.ui.infoView = function(data) { var count = 0; ['source', 'project'].forEach(function(key) { - var $div = $('