mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fix for suggested videos not correctly being added. Closes #502
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user