forked from leftypol/leftypol
expand.js: adjust to post_thread.html
This commit is contained in:
parent
e9c89d7d5a
commit
cb49b41eb9
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ $(document).ready(function() {
|
||||||
|
|
||||||
let doExpand = function() {
|
let doExpand = function() {
|
||||||
$(this)
|
$(this)
|
||||||
.html($(this).text().replace(_("Click reply to view."), '<a href="javascript:void(0)">'+_("Click to expand")+'</a>.'))
|
.html($(this).text().concat(' <a href="javascript:void(0)">' + _("Click to expand") + '</a>.'))
|
||||||
.find('a').click(window.expand_fun = function() {
|
.find('a').click(window.expand_fun = function() {
|
||||||
let thread = $(this).parents('[id^="thread_"]');
|
let thread = $(this).parents('[id^="thread_"]');
|
||||||
$.ajax({
|
$.ajax({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue