Embed Tweets in an iframe - https://tf.rita.moe

show: setAttribute() still requires "data-" prefix

Changed files
+4 -4
+1 -1
index.html
···
width=550 height=200></iframe>
<iframe id="tweet_281974362784022528" border=0 frameborder=0
-
src="https://twitframe.com/show?url=https%3A%2F%2Ftwitter.com%2Fjcs%2Fstatus%2F1010293064215285760"
+
src="https://twitframe.com/show?url=https%3A%2F%2Ftwitter.com%2Fjcs%2Fstatus%2F1010293064215285760&amp;conversation=none"
width=550 height=200></iframe>
<script>
+3 -3
show.html
···
if (align)
t.align = align;
if (link_color)
-
t.setAttribute("link-color", link_color);
+
t.setAttribute("data-link-color", link_color);
if (theme)
-
t.setAttribute("theme", theme);
+
t.setAttribute("data-theme", theme);
if (conversation)
-
t.setAttribute("conversation", conversation);
+
t.setAttribute("data-conversation", conversation);
var h = "";
if (author_name)