Skip to content

Commit 6a66756

Browse files
committed
Update utils.js
1 parent 8928fe3 commit 6a66756

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

utils.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,9 @@ const version = '2.0.8';
7171
versionEl.innerText = version;
7272

7373
let logVersion = () => {
74-
console.log('%cCodeit ' + version, 'font-style: italic; color: gray');
74+
console.log('%cCodeit ' + version + (isDev ? ' [dev]' : ''), 'font-style: italic; color: gray');
7575
}
7676

77-
logVersion();
78-
79-
8077

8178
// dev build
8279
let isDev = false;
@@ -88,6 +85,8 @@ if (window.location.href.includes('dev')) {
8885

8986
}
9087

88+
logVersion();
89+
9190

9291

9392
// sidebar loader

0 commit comments

Comments
 (0)