media assets: fix show page to play Flash files.

This commit is contained in:
evazion
2022-11-27 22:01:08 -06:00
parent b6acc81a17
commit 3a42866a20
4 changed files with 7 additions and 2 deletions

View File

@@ -36,13 +36,14 @@ Post.initialize_all = function() {
this.initialize_post_image_resize_links();
this.initialize_recommended();
this.initialize_ugoira_player();
this.initialize_ruffle_player();
}
if ($("#c-posts #a-show, #c-uploads #a-show").length) {
this.initialize_edit_dialog();
}
this.initialize_ruffle_player();
$(window).on('danbooru:initialize_saved_seraches', () => {
Post.initialize_saved_searches();
});