issue #6 Enabled should be checked on new styles
This commit is contained in:
parent
6bf6cff755
commit
41fb65c841
2
edit.js
2
edit.js
|
@ -129,6 +129,8 @@ function init() {
|
||||||
if (idMatch == null || idMatch.length != 2) { // match should be 2 - one for the whole thing, one for the parentheses
|
if (idMatch == null || idMatch.length != 2) { // match should be 2 - one for the whole thing, one for the parentheses
|
||||||
// This is an add
|
// This is an add
|
||||||
addSection();
|
addSection();
|
||||||
|
// default to enabled
|
||||||
|
document.getElementById("enabled").checked = true
|
||||||
document.title = t("addStyleTitle");
|
document.title = t("addStyleTitle");
|
||||||
tE("heading", "addStyleTitle");
|
tE("heading", "addStyleTitle");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user