Skip to content

Commit

Permalink
return stateNode for getCurrentPlayer
Browse files Browse the repository at this point in the history
  • Loading branch information
night committed Feb 23, 2018
1 parent 44170d3 commit 195ebc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "BetterTTV",
"author": "Night",
"version": "7.2.11",
"version": "7.2.12",
"description": "BetterTTV enhances Twitch with new features, emotes, and more.",
"main": "betterttv.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/twitch.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ module.exports = {
getReactInstance($(PLAYER)[0]),
n => n.stateNode && n.stateNode.player
);
player = node.stateNode.player;
player = node.stateNode;
} catch (_) {}

return player;
Expand Down

0 comments on commit 195ebc1

Please sign in to comment.