forked from extern/nix-config
Move app.js to serv/app.js
This commit is contained in:
parent
39740760d6
commit
2300146fa2
@ -12,4 +12,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var randomize = function(id) {
|
||||||
|
var list = document.getElementById(id);
|
||||||
|
for(var i = list.children.length; i > -1; i--) {
|
||||||
|
list.appendChild(list.children[Math.random() * i | 0]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
})(window, document);
|
})(window, document);
|
Loading…
Reference in New Issue
Block a user