Skip to content

Commit

Permalink
Update pjax.js
Browse files Browse the repository at this point in the history
  • Loading branch information
brcontainer committed Sep 29, 2023
1 parent 3cf1852 commit d1c2318
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pjax.js
Original file line number Diff line number Diff line change
Expand Up @@ -535,13 +535,13 @@
headers: {}
};

opts.linkSelector += ignoreAttr;
opts.formSelector += ignoreAttr;

for (var k in config) {
if (opts && k in opts) config[k] = opts[k];
}

opts.linkSelector += ignoreAttr;
opts.formSelector += ignoreAttr;

opts = undef;

if (/^(interactive|complete)$/.test(doc.readyState)) {
Expand Down

0 comments on commit d1c2318

Please sign in to comment.