Merge pull request #506 from zoff-music/fix/502

Fix for suggested videos not correctly being added. Closes #502
This commit is contained in:
Kasper Rynning-Tønnesen
2019-04-06 15:28:55 +02:00
committed by GitHub

View File

@@ -1693,7 +1693,7 @@ function addDynamicListeners() {
var added_by = e.getAttribute("data-added-by");
var source = "youtube";
var thumbnail;
if(e.getAttribute("data-video-source") != undefined) {
if(e.getAttribute("data-video-source") != "youtube") {
source = "soundcloud";
thumbnail = e.getAttribute("data-type-thumbnail");
}