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:
parent
043f626850
commit
8ca7368200
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user