From 2d0c7f1ff27a37d7d77bcd01b1af5904ed34d0e5 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Thu, 12 Jul 2012 15:22:47 +0200 Subject: [PATCH] Add a class to the '4chan X Settings' links. --- 4chan_x.user.js | 1 + script.coffee | 1 + 2 files changed, 2 insertions(+) diff --git a/4chan_x.user.js b/4chan_x.user.js index b8fd8f022..4ff0802d7 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2525,6 +2525,7 @@ settings = _ref[_i]; a = $.el('a', { href: 'javascript:;', + className: 'settingsWindowLink', textContent: '4chan X Settings' }); $.on(a, 'click', Options.dialog); diff --git a/script.coffee b/script.coffee index 3c4a5ea67..975b1bb7e 100644 --- a/script.coffee +++ b/script.coffee @@ -1982,6 +1982,7 @@ Options = for settings in ['navtopr', 'navbotr'] a = $.el 'a', href: 'javascript:;' + className: 'settingsWindowLink' textContent: '4chan X Settings' $.on a, 'click', Options.dialog el = $.id(settings).firstElementChild