diff --git a/static/js/machichara/simple.js b/static/js/machichara/simple.js index 9ea800a..84a98a1 100644 --- a/static/js/machichara/simple.js +++ b/static/js/machichara/simple.js @@ -7,8 +7,8 @@ function simpleMachicharaUpdater(element) { function simpleMachicharaUpdate(element) { clearTimeout(element.interval); - element.style.top = Math.floor(Math.random()*90) + "%"; - element.style.left = Math.floor(Math.random()*90) + "%"; + element.style.top = 5 + Math.floor(Math.random()*80) + "%"; + element.style.left = 5 + Math.floor(Math.random()*80) + "%"; element.interval = window.setTimeout(simpleMachicharaUpdater(element), 5000+Math.floor(Math.random()*25000)); } diff --git a/static/js/modern.js b/static/js/modern.js index 8856c5a..9b0c0e2 100644 --- a/static/js/modern.js +++ b/static/js/modern.js @@ -1,15 +1,29 @@ -function showChildren(elem) { - for(var i=0; i