Enable linting in newly created styles

This commit is contained in:
tophf 2017-05-17 06:15:43 +03:00
parent bc63eccaa9
commit ebd6b54e45

View File

@ -1133,6 +1133,7 @@ function init() {
window.onload = () => {
window.onload = null;
addSection(null, section);
editors[0].setOption('lint', CodeMirror.defaults.lint);
// default to enabled
document.getElementById("enabled").checked = true
initHooks();