Skip to content

Commit 5c439c1

Browse files
committed
fix linting error
1 parent fb73695 commit 5c439c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WebUI/src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ global.StoreCommit = (type, payload) => {
1616

1717
global.debug = window.location.href.indexOf('webui') === -1;
1818

19-
if (debug) {
19+
if (global.debug) {
2020
console.log('Running UI on debug mode');
2121
setTimeout(() => {
2222
StoreCommit('AddMessage', { author: 'FoolHen', content: 'Talking in global chat', target: 'all' });

0 commit comments

Comments
 (0)