From dfddeb30da2d9a2506d7f1e71212345a4aa05c9f Mon Sep 17 00:00:00 2001 From: Czterooki Date: Sat, 20 Jul 2013 00:06:08 -0400 Subject: [PATCH] js/expand.js --- js/expand.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/expand.js b/js/expand.js index 05aece95..15408813 100644 --- a/js/expand.js +++ b/js/expand.js @@ -17,12 +17,12 @@ $(document).ready(function(){ $('div.post.op span.omitted').each(function() { $(this) - .html($(this).text().replace(/Click reply to view\./, 'Click to expand.')) + .html($(this).text().replace(/Click reply to view\.|Kliknij Odpowiedź aby zobaczyć\./, 'Click to expand.')) .find('a').click(function() { var thread = $(this).parent().parent().parent(); var id = thread.attr('id').replace(/^thread_/, ''); $.ajax({ - url: thread.find('p.intro a.post_no:first').attr('href'), + url: thread.find('p.intro a.post_no.p1:first').attr('href'), context: document.body, success: function(data) { var last_expanded = false;