Added support for old youtube theme

This commit is contained in:
Ajay Ramachandran
2019-07-29 16:35:30 -04:00
parent e4c94aa5c5
commit e0d2436372

View File

@@ -427,6 +427,10 @@ function openInfoMenu() {
popup.appendChild(popupFrame);
let parentNode = document.getElementById("secondary");
if (parentNode == null) {
//old youtube theme
parentNode = document.getElementById("watch7-sidebar-contents");
}
parentNode.prepend(popup);
}