Adds missing text and fixes js errors

This commit is contained in:
nonmakina 2021-01-26 00:52:23 -06:00
parent 87a8fd3a36
commit 9c4158fea5
2 changed files with 2 additions and 1 deletions

View File

@ -346,6 +346,7 @@ $config['enable_embedding'] = true;
$config['youtube_js_html'] = '<div class="video-container" data-video="$2">'.
'<a href="https://youtu.be/$2" target="_blank" class="file">'.
'https://youtu.be/$2'.
'</a></div>';
$config['embedding'] = array();

View File

@ -40,7 +40,7 @@ onready(function(){
span.text(OFF);
} else{
videoNode.append(embedNode);
span.innerHTML = ON;
span.text(ON);
}
});