From b0f47e1b3bf5e2c0fe1bec3921fbb993c50c966d Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Mon, 12 Jan 2015 17:36:23 -0700 Subject: [PATCH] because why not? --- builds/appchan-x.user.js | 5 +++-- builds/crx/script.js | 5 +++-- src/General/Settings.coffee | 3 ++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index b581429ea..d8bbfd594 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -19414,11 +19414,12 @@ return $.cb.value.call(this); }, style: function(section) { - var arr, box, check, description, div, fs, html, input, inputs, items, key, name, nodes, obj, span, type, value, _i, _len, _ref; + var arr, box, check, description, div, fs, html, input, inputs, items, key, mouseover, name, nodes, obj, span, type, value, _i, _len, _ref; nodes = $.frag(); items = {}; inputs = {}; box = UI.checkbox; + mouseover = Settings.mouseover; _ref = Config.style; for (key in _ref) { obj = _ref[key]; @@ -19459,7 +19460,7 @@ } items[key] = Conf[key]; inputs[key] = input; - $.on($('.option', div), 'mouseover', Settings.mouseover); + $.on($('.option', div), 'mouseover', mouseover); $.add(fs, div); } $.add(nodes, fs); diff --git a/builds/crx/script.js b/builds/crx/script.js index f0ba73d25..deb933be7 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -19446,11 +19446,12 @@ return $.cb.value.call(this); }, style: function(section) { - var arr, box, check, description, div, fs, html, input, inputs, items, key, name, nodes, obj, span, type, value, _i, _len, _ref; + var arr, box, check, description, div, fs, html, input, inputs, items, key, mouseover, name, nodes, obj, span, type, value, _i, _len, _ref; nodes = $.frag(); items = {}; inputs = {}; box = UI.checkbox; + mouseover = Settings.mouseover; _ref = Config.style; for (key in _ref) { obj = _ref[key]; @@ -19491,7 +19492,7 @@ } items[key] = Conf[key]; inputs[key] = input; - $.on($('.option', div), 'mouseover', Settings.mouseover); + $.on($('.option', div), 'mouseover', mouseover); $.add(fs, div); } $.add(nodes, fs); diff --git a/src/General/Settings.coffee b/src/General/Settings.coffee index 8da83aa80..d28b35593 100755 --- a/src/General/Settings.coffee +++ b/src/General/Settings.coffee @@ -441,6 +441,7 @@ Settings = inputs = {} box = UI.checkbox + {mouseover} = Settings for key, obj of Config.style @@ -488,7 +489,7 @@ Settings = items[key] = Conf[key] inputs[key] = input - $.on $('.option', div), 'mouseover', Settings.mouseover + $.on $('.option', div), 'mouseover', mouseover $.add fs, div $.add nodes, fs