Commit ac437662 by Dányi Bence

webui: fix password selection issue

fixes #79
parent 0ccd20d9
......@@ -186,7 +186,8 @@ $(function() {
if($(this).attr('type') == 'password'){
$(this).attr('type', 'text');
$(this).addClass('shown');
} else {
} else if(this.selectionStart-this.selectionEnd == 0) {
$(this).attr('type', 'password');
$(this).removeClass('shown');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment