]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#384] Fixed double spacing issue
authorDavid Seifried <david.c.seifried@gmail.com>
Wed, 22 Jun 2011 15:15:53 +0000 (11:15 -0400)
committerDavid Seifried <david.c.seifried@gmail.com>
Wed, 22 Jun 2011 15:15:53 +0000 (11:15 -0400)
plugins/timeline/popcorn.timeline.js

index 765f141c9e93f46ff49a75447ef5ebe97e37bb8e..d37367dec9b6ab00ef43992a49cdf604bb809901 100644 (file)
@@ -49,7 +49,7 @@
 
     //  Default to up if options.direction is non-existant or not up or down
     options.direction = options.direction || "up";
-    if ( options.direction.toLowerCase()  !== "up" || options.direction.toLowerCase()  !== "down" ) {
+    if ( options.direction.toLowerCase() !== "up" || options.direction.toLowerCase() !== "down" ) {
       options.direction = "up";
     }