Skip to content

Commit a14d449

Browse files
authored
Removed useless DOM.textContent
1 parent 4f4a492 commit a14d449

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

basicBot.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@
177177
}
178178
}
179179
var json_sett = null;
180-
var roominfo = _.find(require.s.contexts._.defined, (m) => m && m.attributes && 'hostID' in m.attributes).get('description');
181-
info = roominfo.textContent;
180+
var info = _.find(require.s.contexts._.defined, (m) => m && m.attributes && 'hostID' in m.attributes).get('description');
182181
var ref_bot = '@basicBot=';
183182
var ind_ref = info.indexOf(ref_bot);
184183
if (ind_ref > 0) {

0 commit comments

Comments
 (0)