From cfb883d8dac5952f8164092719ffa7f2bd919b19 Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Sat, 21 Dec 2013 19:29:22 -0700 Subject: [PATCH] Alternative text for Refresh Shortcut. seaweedchan/4chan-x#212 DUH, I DUMB --- LICENSE | 2 +- builds/4chan-X.user.js | 5 +++-- builds/crx/script.js | 5 +++-- src/General/Index.coffee | 1 + 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/LICENSE b/LICENSE index 169747223..16be3fc60 100755 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ /* -* 4chan X - Version 1.2.44 - 2013-12-18 +* 4chan X - Version 1.2.44 - 2013-12-21 * * Licensed under the MIT license. * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 39ae3bd2f..7b3f1bba4 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -22,7 +22,7 @@ // ==/UserScript== /* -* 4chan X - Version 1.2.44 - 2013-12-18 +* 4chan X - Version 1.2.44 - 2013-12-21 * * Licensed under the MIT license. * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE @@ -2060,7 +2060,8 @@ this.button = $.el('a', { className: 'index-refresh-shortcut fa fa-refresh', title: 'Refresh Index', - href: 'javascript:;' + href: 'javascript:;', + textContent: 'Refresh Index' }); $.on(this.button, 'click', this.update); Header.addShortcut(this.button, 1); diff --git a/builds/crx/script.js b/builds/crx/script.js index 377c1155f..2deb7737b 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -1,6 +1,6 @@ // Generated by CoffeeScript /* -* 4chan X - Version 1.2.44 - 2013-12-18 +* 4chan X - Version 1.2.44 - 2013-12-21 * * Licensed under the MIT license. * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE @@ -2072,7 +2072,8 @@ this.button = $.el('a', { className: 'index-refresh-shortcut fa fa-refresh', title: 'Refresh Index', - href: 'javascript:;' + href: 'javascript:;', + textContent: 'Refresh Index' }); $.on(this.button, 'click', this.update); Header.addShortcut(this.button, 1); diff --git a/src/General/Index.coffee b/src/General/Index.coffee index 576cf6622..e67f91569 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -6,6 +6,7 @@ Index = className: 'index-refresh-shortcut fa fa-refresh' title: 'Refresh Index' href: 'javascript:;' + textContent: 'Refresh Index' $.on @button, 'click', @update Header.addShortcut @button, 1