mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-26 15:01:37 +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:
parent
972b3450cf
commit
013ea195da
@ -28,7 +28,6 @@ $(function() {
|
|||||||
body.html(content);
|
body.html(content);
|
||||||
|
|
||||||
var post = $(body).parents('.post');
|
var post = $(body).parents('.post');
|
||||||
$(document).trigger('new_post', post);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user