From 64d94ac2bd75b2a99aed10acd7064de3eaa22fd6 Mon Sep 17 00:00:00 2001 From: Chris Adams Date: Tue, 18 Jun 2013 17:56:39 -0400 Subject: [PATCH] referencestrip.js: declare undeclared variable --- src/referencestrip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/referencestrip.js b/src/referencestrip.js index 800933da..ae20fdba 100644 --- a/src/referencestrip.js +++ b/src/referencestrip.js @@ -399,7 +399,7 @@ function loadPanels(strip, viewerSize, scroll){ activePanelsStart = activePanelsStart < 0 ? 0 : activePanelsStart; for( i = activePanelsStart; i < activePanelsEnd && i < strip.panels.length; i++ ){ - element = strip.panels[ i ]; + var element = strip.panels[ i ]; if ( !element.activePanel ){ miniViewer = new $.Viewer( { id: element.id,