Skip to content

Commit

Permalink
fix ie11 includes error (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
ouzhenkun authored and samurai00 committed Jan 18, 2018
1 parent 3064dae commit 9dd3719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/callbacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ module.exports = {
if (typeof this.urlReturnCallback !== 'function') {
return false;
}
return this.urlReturnChannels.includes(channel);
return this.urlReturnChannels.indexOf(channel) !== -1;
}
};

0 comments on commit 9dd3719

Please sign in to comment.