Fixed parentIssue

This commit is contained in:
Kasper Rynning-Tønnesen
2018-04-25 23:24:30 +02:00
parent ae827d295d
commit 78c2f57679

View File

@@ -128,7 +128,7 @@ var Frontpage = {
data[options_list[x]._id] = null; data[options_list[x]._id] = null;
} }
if(document.querySelectorAll(".pin").length == 1 && !Helper.mobilecheck()) { if(document.querySelectorAll(".pin").length == 1 && !Helper.mobilecheck()) {
Helper.tooltip(document.querySelectorAll(".pin")[0].parent().parent().parent(), { Helper.tooltip(document.querySelectorAll(".pin")[0].parentElement.parentElement.parentElement, {
delay: 5, delay: 5,
position: "top", position: "top",
html: "Featured playlist" html: "Featured playlist"