1
0
forked from extern/nix-config

Move app.js to serv/app.js

This commit is contained in:
Donovan Glover 2017-12-13 19:37:56 -05:00
parent 39740760d6
commit 2300146fa2
No known key found for this signature in database
GPG Key ID: 8FC5F7D90A5D8F4D

View File

@ -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);