Cosmetic fix in machichara

main
Inga 🏳‍🌈 14 years ago
parent f1e3570aef
commit c8b86a8782
  1. 4
      static/js/machichara/simple.js

@ -1,7 +1,7 @@
function simpleMachicharaUpdate(element) { function simpleMachicharaUpdate(element) {
element.style.top = Math.floor(Math.random()*110 - 10) + "%"; element.style.top = Math.floor(Math.random()*90) + "%";
element.style.left = Math.floor(Math.random()*110 - 10) + "%"; element.style.left = Math.floor(Math.random()*90) + "%";
window.setTimeout(function() { window.setTimeout(function() {
simpleMachicharaUpdate(element); simpleMachicharaUpdate(element);
}, 5000+Math.floor(Math.random()*25000)); }, 5000+Math.floor(Math.random()*25000));

Loading…
Cancel
Save