Browse Source

trim() au lieu de jquery.trim()

jquery_35
b_b 3 years ago
parent
commit
7008efaf79
  1. 2
      prive/javascript/jquery.form.js

2
prive/javascript/jquery.form.js

@ -159,7 +159,7 @@
method = options.method || options.type || this.attr2('method');
action = options.url || this.attr2('action');
url = (typeof action === 'string') ? $.trim(action) : '';
url = (typeof action === 'string') ? action.trim() : '';
url = url || window.location.href || '';
if (url) {
// clean url (don't include hash vaue)

Loading…
Cancel
Save