Refactor subscribe_widget

This commit is contained in:
Omar Roth
2019-05-05 08:35:54 -05:00
parent 0cf86974dd
commit 0099a9822e
5 changed files with 36 additions and 38 deletions

View File

@@ -276,11 +276,6 @@ function number_with_separator(val) {
return val;
}
<% ucid = video.ucid %>
<% author = video.author %>
<% sub_count_text = video.sub_count_text %>
<%= rendered "components/subscribe_widget_script" %>
<% if plid %>
function get_playlist(plid, timeouts = 0) {
playlist = document.getElementById('playlist');