Include ugoira frames in post data attributes.

This commit is contained in:
evazion
2014-10-25 12:20:13 -05:00
parent b47a794a93
commit cb57d3550d

View File

@@ -16,7 +16,9 @@
"data-has-children" => post.has_children?,
"data-has-active-children" => post.has_active_children?,
"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">