Include ugoira frames in post data attributes.
This commit is contained in:
@@ -16,7 +16,9 @@
|
|||||||
"data-has-children" => post.has_children?,
|
"data-has-children" => post.has_children?,
|
||||||
"data-has-active-children" => post.has_active_children?,
|
"data-has-active-children" => post.has_active_children?,
|
||||||
"data-score" => post.score,
|
"data-score" => post.score,
|
||||||
"data-fav-count" => post.fav_count
|
"data-fav-count" => post.fav_count,
|
||||||
|
"data-ugoira-frames" => post.pixiv_ugoira_frame_data.data.to_json,
|
||||||
|
"data-ugoira-content-type" => post.pixiv_ugoira_frame_data.content_type.to_json,
|
||||||
) %>
|
) %>
|
||||||
|
|
||||||
<div id="ugoira-controls">
|
<div id="ugoira-controls">
|
||||||
|
|||||||
Reference in New Issue
Block a user