We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a53a5e3 commit e1727eeCopy full SHA for e1727ee
src/player/index.ts
@@ -60,8 +60,8 @@ export class Player {
60
this.fixTableNavbar();
61
62
// Move stuff around
63
- const warnGlyph = document.getElementsByClassName('glyphicon glyphicon-warning-sign')[0];
64
- if (warnGlyph && warnGlyph.parentElement) {
+ const warnGlyph = document.getElementsByClassName('glyphicon glyphicon-warning-sign')[0] as HTMLSpanElement;
+ if (warnGlyph && warnGlyph.parentElement?.children.length === 1) {
65
warnGlyph.parentElement.remove();
66
const warnBanner = this.warnBanner('This player does not have match tracking enabled. Some data may be missing.');
67
warnBanner.style.backgroundColor = 'rgba(208, 65, 67, .15)';
0 commit comments