From d2aa41da80d85c9b974a986d9298e4e7a63be2d6 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 12 May 2011 21:23:03 +0200 Subject: fixed js --- module/web/templates/default/package_ui.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'module/web/templates/default') diff --git a/module/web/templates/default/package_ui.js b/module/web/templates/default/package_ui.js index b5577f58a..cee29dfd8 100644 --- a/module/web/templates/default/package_ui.js +++ b/module/web/templates/default/package_ui.js @@ -1,13 +1,8 @@ -var load, success, fail, pack_box; +var load, pack_box; document.addEvent("domready", function() { load = new Fx.Tween($("load-indicator"), {link: "cancel"}); - success = new Fx.Tween($("load-success"), {link: "chain"}); - fail = new Fx.Tween($("load-failure"), {link: "chain"}); - - [load,success,fail].each(function(fx) { - fx.set("opacity", 0) - }); + load.set("opacity", 0); pack_box = new Fx.Tween($('pack_box')); $('pack_reset').addEvent('click', function() { -- cgit v1.2.3