1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

fix lint error

This commit is contained in:
Baptiste Augrain
2018-12-15 15:57:37 +01:00
parent d6a54b8a26
commit fa157f6f76

View File

@@ -421,8 +421,7 @@ document.addEventListener('DOMContentLoaded', displaySequences);
if (mode === 'yaml') {
addYAML()
}
}
else if (type === 'code') {
} else if (type === 'code') {
addCodeMirror()
if (mode && modes[mode] !== true) {