From c2a2a7c5bf87bfea9a30f68515f8f779709cb1dc Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Wed, 15 Feb 2012 15:25:13 +0100 Subject: [PATCH] Fix saving options with a ' in it. --- 4chan_x.user.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index eb2344977..bac801fa4 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2131,7 +2131,7 @@ checked = conf[key] ? 'checked' : ''; description = arr[1]; li = $.el('li', { - innerHTML: ": " + description + "" + innerHTML: ": " + description + "" }); $.on($('input', li), 'click', $.cb.checked); $.add(ul, li); diff --git a/script.coffee b/script.coffee index ddff6b6fd..4158bc8c8 100644 --- a/script.coffee +++ b/script.coffee @@ -1664,7 +1664,7 @@ options = checked = if conf[key] then 'checked' else '' description = arr[1] li = $.el 'li', - innerHTML: ": #{description}" + innerHTML: ": #{description}" $.on $('input', li), 'click', $.cb.checked $.add ul, li $.add $('#main_tab + div', dialog), ul