1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-28 01:10:51 +01:00

Merge pull request #166 from joosera/master

Fix js/expand.js
This commit is contained in:
Michael 2014-04-22 08:15:34 +10:00
commit de395fcc36

View File

@ -20,7 +20,7 @@ $(document).ready(function(){
var do_expand = function() {
$(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() {
var thread = $(this).parent().parent().parent();
var id = thread.attr('id').replace(/^thread_/, '');
@ -64,3 +64,4 @@ $(document).ready(function(){
}
});
});
});