Go nuclear on Safari's autocomplete.
This commit is contained in:
parent
b539f26dab
commit
c9c0e845b1
7 changed files with 23 additions and 38 deletions
6
public/js/autocomplete.js
Normal file
6
public/js/autocomplete.js
Normal file
|
@ -0,0 +1,6 @@
|
|||
// Hacky fix for browsers ignoring autocomplete="off"
|
||||
$(document).ready(function() {
|
||||
$('.form-autocomplete-stop').on('click', function () {
|
||||
$(this).removeAttr('readonly').blur().focus();
|
||||
});
|
||||
});
|
|
@ -299,3 +299,8 @@ tr:hover + tr.server-description {
|
|||
bottom: 5px;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
input.form-autocomplete-stop[readonly] {
|
||||
background: inherit;
|
||||
cursor: text;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue