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();
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue