issue #6 Enabled should be checked on new styles

This commit is contained in:
Jason Barnabe 2014-02-06 15:09:12 -06:00
parent 6bf6cff755
commit 41fb65c841

View File

@ -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
// This is an add
addSection();
// default to enabled
document.getElementById("enabled").checked = true
document.title = t("addStyleTitle");
tE("heading", "addStyleTitle");
return;