Skip to content

Commit

Permalink
Fix accidental global
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Mar 7, 2015
1 parent 75d1e7e commit 8de14eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jquery.pjax.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ function fallbackPjax(options) {
form.append($('<input>', {type: 'hidden', name: value.name, value: value.value}))
})
} else if (typeof data === 'object') {
var key
for (key in data)
form.append($('<input>', {type: 'hidden', name: key, value: data[key]}))
}
Expand Down

0 comments on commit 8de14eb

Please sign in to comment.