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

Fix "double dorito" bug (post filter runs twice)

Note: This broke post-hover when expand-too-long is used. It's necessary to either come up with an event other than new_post for this (perhaps change_post), or have post-hover.js and other safe scripts expose a method that can be called here. I think the new event is a better idea though.
This commit is contained in:
8chan 2015-03-29 15:33:50 -07:00
parent 972b3450cf
commit 013ea195da

View File

@ -28,7 +28,6 @@ $(function() {
body.html(content);
var post = $(body).parents('.post');
$(document).trigger('new_post', post);
}
});
});