Skip to content

Commit

Permalink
v.1.0.1 minor edit
Browse files Browse the repository at this point in the history
  • Loading branch information
foo123 committed Mar 16, 2023
1 parent ff47ac3 commit 4336f35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/AjaxListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ AjaxListener.Response = Response;

function listenerFetch(request)
{
var options = 1 < arguments.length ? arguments[1] : {};
var options = (1 < arguments.length ? arguments[1] : {}) || {};
return fetch.apply(window, arguments).then(function(response) {
if (/*response.ok &&*/ callbacks.length)
{
Expand Down
2 changes: 1 addition & 1 deletion src/AjaxListener.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4336f35

Please sign in to comment.