mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-23 01:27:42 +01:00
Add nightmode undefined check for query graphs (#2021)
Affects issues: - Fixed #2020
This commit is contained in:
parent
386e45dea6
commit
0ee1e40e4b
@ -350,7 +350,7 @@ function displayResults(json) {
|
||||
order: [[5, "desc"]]
|
||||
});
|
||||
|
||||
if (nightmode) {
|
||||
if ('undefined' !== typeof nightmode && nightmode == true) {
|
||||
document.querySelector('.table').classList.add('table-dark');
|
||||
}
|
||||
|
||||
@ -508,4 +508,4 @@ function displayDataResultScreen(resultCount, view) {
|
||||
</div>
|
||||
</div>
|
||||
</div>`;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user