Browse Source

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

Jay Salvat 9 năm trước cách đây
mục cha
commit
dc6c970303
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 () {