1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-18 11:29:55 +00:00

Disable password autocomplete

It doesn't seem to work properly.
This commit is contained in:
Jeremy Ruston 2013-03-18 10:53:27 +00:00
parent 043f626850
commit 8ca7368200

View File

@ -314,6 +314,7 @@ $tw.utils.PasswordPrompt.prototype.createPrompt = function(options) {
html.push("<input type='password' name='password' class='input-small' placeholder='Password'>",
"<button type='submit' class='btn'>" + submitText + "</button>");
form.className = "form-inline";
form.setAttribute("autocomplete","off");
form.innerHTML = html.join("\n");
this.promptWrapper.appendChild(form);
window.setTimeout(function() {