Change QR buttons' text to match 4chan's mobile buttons.
This commit is contained in:
parent
6fc67e9b27
commit
e8c269c5df
@ -1394,7 +1394,7 @@
|
|||||||
var link;
|
var link;
|
||||||
if (Conf['Hide Original Post Form']) {
|
if (Conf['Hide Original Post Form']) {
|
||||||
link = $.el('h1', {
|
link = $.el('h1', {
|
||||||
innerHTML: "<a href=javascript:;>" + (g.REPLY ? 'Quick Reply' : 'New Thread') + "</a>"
|
innerHTML: "<a href=javascript:;>" + (g.REPLY ? 'Reply to Thread' : 'Start a Thread') + "</a>"
|
||||||
});
|
});
|
||||||
$.on(link.firstChild, 'click', function() {
|
$.on(link.firstChild, 'click', function() {
|
||||||
QR.open();
|
QR.open();
|
||||||
|
|||||||
@ -1025,7 +1025,7 @@ QR =
|
|||||||
|
|
||||||
asyncInit: ->
|
asyncInit: ->
|
||||||
if Conf['Hide Original Post Form']
|
if Conf['Hide Original Post Form']
|
||||||
link = $.el 'h1', innerHTML: "<a href=javascript:;>#{if g.REPLY then 'Quick Reply' else 'New Thread'}</a>"
|
link = $.el 'h1', innerHTML: "<a href=javascript:;>#{if g.REPLY then 'Reply to Thread' else 'Start a Thread'}</a>"
|
||||||
$.on link.firstChild, 'click', ->
|
$.on link.firstChild, 'click', ->
|
||||||
QR.open()
|
QR.open()
|
||||||
$('select', QR.el).value = 'new' unless g.REPLY
|
$('select', QR.el).value = 'new' unless g.REPLY
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user