diff --git a/js/expand.js b/js/expand.js index b64323d4..eba21eb9 100644 --- a/js/expand.js +++ b/js/expand.js @@ -22,7 +22,7 @@ $(document).ready(function() { let doExpand = function() { $(this) .html($(this).text().replace(_("Click reply to view."), ''+_("Click to expand")+'.')) - .find('a').click(window.expand_fun = function() { + .find('a').click(window.expandFun = function() { let thread = $(this).parents('[id^="thread_"]'); $.ajax({ url: thread.find('p.intro a.post_no:first').attr('href'), diff --git a/js/live-index.js b/js/live-index.js index 017d0c1f..2cc4698c 100644 --- a/js/live-index.js +++ b/js/live-index.js @@ -85,7 +85,7 @@ if (active_page == 'index' && (""+document.location).match(/\/(index\.html)?(\?| if ($(th).find(".new-posts").html() != msg) { $(th).find(".new-posts").html(msg); - $(th).find(".new-posts a").click(window.expand_fun); + $(th).find(".new-posts a").click(window.expandFun); } };