Alternative text for Refresh Shortcut. seaweedchan/4chan-x#212

DUH, I DUMB
This commit is contained in:
Zixaphir 2013-12-21 19:29:22 -07:00
parent 3b1340433e
commit cfb883d8da
4 changed files with 8 additions and 5 deletions

View File

@ -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. * Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE

View File

@ -22,7 +22,7 @@
// ==/UserScript== // ==/UserScript==
/* /*
* 4chan X - Version 1.2.44 - 2013-12-18 * 4chan X - Version 1.2.44 - 2013-12-21
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
@ -2060,7 +2060,8 @@
this.button = $.el('a', { this.button = $.el('a', {
className: 'index-refresh-shortcut fa fa-refresh', className: 'index-refresh-shortcut fa fa-refresh',
title: 'Refresh Index', title: 'Refresh Index',
href: 'javascript:;' href: 'javascript:;',
textContent: 'Refresh Index'
}); });
$.on(this.button, 'click', this.update); $.on(this.button, 'click', this.update);
Header.addShortcut(this.button, 1); Header.addShortcut(this.button, 1);

View File

@ -1,6 +1,6 @@
// Generated by CoffeeScript // 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. * Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
@ -2072,7 +2072,8 @@
this.button = $.el('a', { this.button = $.el('a', {
className: 'index-refresh-shortcut fa fa-refresh', className: 'index-refresh-shortcut fa fa-refresh',
title: 'Refresh Index', title: 'Refresh Index',
href: 'javascript:;' href: 'javascript:;',
textContent: 'Refresh Index'
}); });
$.on(this.button, 'click', this.update); $.on(this.button, 'click', this.update);
Header.addShortcut(this.button, 1); Header.addShortcut(this.button, 1);

View File

@ -6,6 +6,7 @@ Index =
className: 'index-refresh-shortcut fa fa-refresh' className: 'index-refresh-shortcut fa fa-refresh'
title: 'Refresh Index' title: 'Refresh Index'
href: 'javascript:;' href: 'javascript:;'
textContent: 'Refresh Index'
$.on @button, 'click', @update $.on @button, 'click', @update
Header.addShortcut @button, 1 Header.addShortcut @button, 1