diff options
| author | Czterooki <czterooki1337@gmail.com> | 2013-07-20 00:07:28 -0400 |
|---|---|---|
| committer | Czterooki <czterooki1337@gmail.com> | 2013-07-20 00:07:28 -0400 |
| commit | 72876b64921d2d3388b714e954f411dc7253559c (patch) | |
| tree | f72f53af3b93ead544fc043a1734d82b00b59bee /js | |
| parent | 2304683d1c59578286315b89cc52200ec0aa3d9f (diff) | |
js/quick-reply.js
Diffstat (limited to 'js')
| -rw-r--r-- | js/quick-reply.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/quick-reply.js b/js/quick-reply.js index dc48a743..ee59e805 100644 --- a/js/quick-reply.js +++ b/js/quick-reply.js @@ -17,7 +17,7 @@ $(document).ready(function(){ return; // not index txt_new_topic = $('form[name=post] input[type=submit]').val(); - txt_new_reply = txt_new_topic == 'Submit' ? txt_new_topic : 'New Reply'; + txt_new_reply = txt_new_topic == 'Submit' ? txt_new_topic : 'Reply'; undo_quick_reply = function() { $('div.banner').remove(); @@ -26,10 +26,10 @@ $(document).ready(function(){ } $('div.post.op').each(function() { - var id = $(this).children('p.intro').children('a.post_no:eq(1)').text(); - $('<a href="?/b/res/69.html">[Quick reply]</a>').insertAfter($(this).children('p.intro').children('a:last')).click(function() { + var id = $(this).children('p.intro').children('a.post_no:eq(2)').text(); + $('<a href="#">[Quick Reply]</a>').insertAfter($(this).children('p.intro').children('a:last')).click(function() { $('div.banner').remove(); - $('<div class="banner">Posting mode: Replying to <small>>>' + id + '</small> <a class="unimportant" onclick="undo_quick_reply()" href="javascript:void(0)">[Return]</a></div>') + $('<div class="banner">Post Mode: Quick Reply to <small>>>' + id + '</small> <a class="unimportant" onclick="undo_quick_reply()" href="javascript:void(0)">[Return]</a></div>') .insertBefore('form[name=post]'); $('form[name=post] input[type=submit]').val(txt_new_reply); |
