diff --git a/trunk/includes/js/LSdefault.js b/trunk/includes/js/LSdefault.js index fc939975..8c206dd0 100644 --- a/trunk/includes/js/LSdefault.js +++ b/trunk/includes/js/LSdefault.js @@ -85,6 +85,9 @@ var LSdefault = new Class({ this.LSlang_select.getElements('img').each(function(img) { img.addEvent('click',this.onSelectLSlangImgClick.bind(this,img)); },this); + document.getElements('.LSlang_hidden').each(function(el) { + el.dispose(); + },this); } } }, diff --git a/trunk/templates/default/login.tpl b/trunk/templates/default/login.tpl index 4fc13ee0..3024a211 100644 --- a/trunk/templates/default/login.tpl +++ b/trunk/templates/default/login.tpl @@ -28,6 +28,14 @@