bugfix
This commit is contained in:
@@ -32,6 +32,9 @@ const utils = {
|
||||
},
|
||||
shuffle: function (array) {
|
||||
const output = [...array];
|
||||
if (output.length < 2) {
|
||||
return output;
|
||||
}
|
||||
for (let i = 0; i < array.length; i++) {
|
||||
const i1 = this.randindex(array);
|
||||
const i2 = this.randindex(array, i1);
|
||||
@@ -62,6 +65,9 @@ let app = {
|
||||
currentYear() {
|
||||
return new Date().getFullYear();
|
||||
},
|
||||
urlLength() {
|
||||
return window.location.toString().length;
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
showApp() {
|
||||
|
||||
Reference in New Issue
Block a user