From 565aa9450ed4afea30acb158ee1799ed38803a95 Mon Sep 17 00:00:00 2001 From: David Seifried Date: Wed, 22 Jun 2011 11:47:31 -0400 Subject: [PATCH] [#384] Removed some useless code --- plugins/timeline/popcorn.timeline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/timeline/popcorn.timeline.js b/plugins/timeline/popcorn.timeline.js index d37367d..a5b7820 100644 --- a/plugins/timeline/popcorn.timeline.js +++ b/plugins/timeline/popcorn.timeline.js @@ -58,7 +58,7 @@ target.appendChild( newdiv ); // if this isnt the first div added to the target div - if( i && options.direction.length === 2 ){ + if( options.direction.length === 2 ){ // insert the current div before the previous div inserted target.insertBefore( newdiv, document.getElementById( "timelineDiv" + ( i - 1 ) ) ); } -- 2.43.0