mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Go nuclear on Safari's autocomplete.
This commit is contained in:
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();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user