Skip to content

Commit

Permalink
Fixed ajax
Browse files Browse the repository at this point in the history
  • Loading branch information
tvrzna committed Nov 3, 2021
1 parent a92908e commit 3bb2125
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nunjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ window.$.ajax = function(arg1, arg2, type) {
var options;
if (typeof arg1 === 'object') {
options = arg1;
} else if (arg2 === 'object') {
} else if (typeof arg2 === 'object') {
options = arg2;
} else {
options = {};
Expand Down
2 changes: 1 addition & 1 deletion nunjs.min.js

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

0 comments on commit 3bb2125

Please sign in to comment.