From 41fb65c84133f8f5baa81289dacaedd8e4a82cf2 Mon Sep 17 00:00:00 2001 From: Jason Barnabe Date: Thu, 6 Feb 2014 15:09:12 -0600 Subject: [PATCH] issue #6 Enabled should be checked on new styles --- edit.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/edit.js b/edit.js index 65d15882..c5a22192 100644 --- a/edit.js +++ b/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 // This is an add addSection(); + // default to enabled + document.getElementById("enabled").checked = true document.title = t("addStyleTitle"); tE("heading", "addStyleTitle"); return;