Skip to content

Commit

Permalink
Fixed crossorigin logic
Browse files Browse the repository at this point in the history
  • Loading branch information
hotoo committed Dec 28, 2014
1 parent 0f3393a commit 178e8ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ else {
node.charset = charset
}

if (isUndefined(crossorigin)) {
if (!isUndefined(crossorigin)) {
node.setAttribute("crossorigin", crossorigin)
}

Expand Down

0 comments on commit 178e8ca

Please sign in to comment.