mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-12-02 19:17:21 +01:00
commit
de395fcc36
@ -20,7 +20,7 @@ $(document).ready(function(){
|
|||||||
|
|
||||||
var do_expand = function() {
|
var do_expand = function() {
|
||||||
$(this)
|
$(this)
|
||||||
.html($(this).text().replace(_("Click reply to view."), '<a href="javascript:void(0)">'+_("Click to expand")+'</a>.'))
|
.html($(this).html().replace(_("Click reply to view."), '<a href="javascript:void(0)">'+_("Click to expand")+'</a>.'))
|
||||||
.find('a').click(function() {
|
.find('a').click(function() {
|
||||||
var thread = $(this).parent().parent().parent();
|
var thread = $(this).parent().parent().parent();
|
||||||
var id = thread.attr('id').replace(/^thread_/, '');
|
var id = thread.attr('id').replace(/^thread_/, '');
|
||||||
@ -63,4 +63,5 @@ $(document).ready(function(){
|
|||||||
$(post).find('div.post.op span.omitted').each(do_expand);
|
$(post).find('div.post.op span.omitted').each(do_expand);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user