Change style of this jquery call, the method that was used did not work properly.

This commit is contained in:
jim-p 2012-06-03 19:53:38 -04:00
parent f2f721e2ce
commit 42db9f7bb8

View File

@ -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; ?>