X-Git-Url: https://dev.renevier.net/gitweb.cgi?a=blobdiff_plain;f=public%2Fjs%2Fsyj.js;h=39ecd4f90bdf86b8321054ead2e08f823a28612d;hb=c7c35fba8c1ded1e4d6e04a3c9e2082ad9ace60d;hp=0572fce71c7099bcad3f054c04690bf43d194803;hpb=95727eb231968e25b764f99d899bf2e044664ab4;p=syj.git diff --git a/public/js/syj.js b/public/js/syj.js index 0572fce..39ecd4f 100644 --- a/public/js/syj.js +++ b/public/js/syj.js @@ -638,18 +638,7 @@ var SYJUserClass = Class.create(SYJModalClass, { } }.bindAsEventListener(this)); - $("account-info").hide(); - $("account-info-bullet").observe('click', function(evt) { - var elt = $("account-info"); - if (elt.visible()) { - evt.target.src = "icons/bullet_arrow_right.png"; - elt.hide(); - } else { - evt.target.src = "icons/bullet_arrow_down.png"; - elt.show(); - } - evt.stop(); - }); + $('account-create-anchor').insert({after: new Toggler('account-info').element}); }, presubmit: function() {