summaryrefslogtreecommitdiffstats
path: root/usr/local/www/fend.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-06-03 19:53:38 -0400
committerjim-p <jimp@pfsense.org>2012-06-03 19:54:54 -0400
commit42db9f7bb8130a4ff2dfa18f42483df2e841103e (patch)
tree38929ad9ad9489b8fd9a4e30909b115a08e329fc /usr/local/www/fend.inc
parentf2f721e2ce6d1297f52ea0886119db42c8a77f3a (diff)
downloadpfsense-42db9f7bb8130a4ff2dfa18f42483df2e841103e.zip
pfsense-42db9f7bb8130a4ff2dfa18f42483df2e841103e.tar.gz
Change style of this jquery call, the method that was used did not work properly.
Diffstat (limited to 'usr/local/www/fend.inc')
-rwxr-xr-xusr/local/www/fend.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/fend.inc b/usr/local/www/fend.inc
index bba15df..882aca7 100755
--- a/usr/local/www/fend.inc
+++ b/usr/local/www/fend.inc
@@ -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; ?> \ No newline at end of file
+<?php endif; ?>
OpenPOWER on IntegriCloud