From c8b86a878268c3b13caf187acb8c19c5f1b1014c Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Thu, 16 Sep 2010 10:38:53 +0000 Subject: [PATCH] Cosmetic fix in machichara --- static/js/machichara/simple.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/machichara/simple.js b/static/js/machichara/simple.js index caa956b..bf62579 100644 --- a/static/js/machichara/simple.js +++ b/static/js/machichara/simple.js @@ -1,7 +1,7 @@ function simpleMachicharaUpdate(element) { - element.style.top = Math.floor(Math.random()*110 - 10) + "%"; - element.style.left = Math.floor(Math.random()*110 - 10) + "%"; + element.style.top = Math.floor(Math.random()*90) + "%"; + element.style.left = Math.floor(Math.random()*90) + "%"; window.setTimeout(function() { simpleMachicharaUpdate(element); }, 5000+Math.floor(Math.random()*25000));