Browse Source

Merge branch 'master' of github.com:jaysalvat/vegas

Jay Salvat 9 years ago
parent
commit
dc6c970303
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/vegas.js

+ 1 - 1
src/vegas.js

@@ -203,7 +203,7 @@
         },
 
         _random: function (array) {
-            return array[Math.floor(Math.random() * (array.length - 1))];
+            return array[Math.floor(Math.random() * array.length)];
         },
 
         _slideShow: function () {