summaryrefslogtreecommitdiff
path: root/src/setting.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/setting.c')
-rw-r--r--src/setting.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/setting.c b/src/setting.c
index 8ed5d0b..4e42499 100644
--- a/src/setting.c
+++ b/src/setting.c
@@ -127,7 +127,7 @@ void setting_init(Client *c)
setting_add(c, "prevent-newwindow", TYPE_BOOLEAN, &off, internal, 0, &c->config.prevent_newwindow);
setting_add(c, "print-backgrounds", TYPE_BOOLEAN, &on, webkit, 0, "print-backgrounds");
setting_add(c, "sans-serif-font", TYPE_CHAR, &"sans-serif", webkit, 0, "sans-serif-font-family");
- setting_add(c, "scripts", TYPE_BOOLEAN, &on, webkit, 0, "enable-javascript");
+ setting_add(c, "scripts", TYPE_BOOLEAN, &SETTING_JAVASCRIPT_ACCEPT, webkit, 0, "enable-javascript");
setting_add(c, "serif-font", TYPE_CHAR, &"serif", webkit, 0, "serif-font-family");
setting_add(c, "site-specific-quirks", TYPE_BOOLEAN, &off, webkit, 0, "enable-site-specific-quirks");
setting_add(c, "smooth-scrolling", TYPE_BOOLEAN, &off, webkit, 0, "enable-smooth-scrolling");