Skip to content

Commit

Permalink
Changed open.async to options.async, previously written it was re…
Browse files Browse the repository at this point in the history
…ferencing the window.open function.
  • Loading branch information
jiggliemon committed Mar 18, 2012
1 parent 081b2b7 commit 4b29cf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ajax.js
Expand Up @@ -204,7 +204,7 @@

var xhr = self.xhr

xhr.open(method.toUpperCase(), url, open.async, options.user, options.password)
xhr.open(method.toUpperCase(), url, options.async, options.user, options.password)
if (options.user && 'withCredentials' in xhr) xhr.withCredentials = true

xhr.onreadystatechange = snack.bind(self.onStateChange, self)
Expand Down

0 comments on commit 4b29cf1

Please sign in to comment.