mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Change style of this jquery call, the method that was used did not work properly.
This commit is contained in:
parent
f2f721e2ce
commit
42db9f7bb8
@ -18,8 +18,8 @@
|
||||
/* Disable form autocomplete on all but the login screen. */
|
||||
if (basename($_SERVER["SCRIPT_FILENAME"] != "index.php")): ?>
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready(function() {
|
||||
jQuery("input").prop("autocomplete","off");
|
||||
});
|
||||
(function ($) {
|
||||
$("input").prop("autocomplete","off");
|
||||
})(jQuery);
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user