diff --git a/app/js/content.js b/app/js/content.js index f847675..91dc23a 100644 --- a/app/js/content.js +++ b/app/js/content.js @@ -231,10 +231,8 @@ if ( numOfNodeAdded > 0) { for (var i = 0; i < numOfNodeAdded; i++) { var currNode= null; - if (mutation.addedNodes[i].className === 'ember-view') { - currNode = mutation.addedNodes[i].querySelector("li"); - } else if (mutation.addedNodes[i].className === 'chat-line') { - //this is for bttv users + + if ((mutation.addedNodes[i].className+'').indexOf('chat-line') > -1) { currNode = mutation.addedNodes[i]; } if (currNode) { diff --git a/app/manifest.json b/app/manifest.json index 9177fa5..7d6b44e 100644 --- a/app/manifest.json +++ b/app/manifest.json @@ -3,7 +3,7 @@ "name": "Twitch Danmaku", "description": "Display Twitch chat messages on streaming player.", - "version": "1.1.2", + "version": "1.1.3", "icons": { "16": "assets/icon-16.png", diff --git a/twitchDanmaku.crx b/twitchDanmaku.crx index e14d336..b6895cd 100644 Binary files a/twitchDanmaku.crx and b/twitchDanmaku.crx differ