Changes to preview bar

This commit is contained in:
Ajay Ramachandran
2021-06-08 22:13:57 -04:00
parent 2e1b17f8bd
commit d2847c6a77
2 changed files with 5 additions and 16 deletions

View File

@@ -761,7 +761,7 @@ function getYouTubeVideoID(url: string) {
*/
function updatePreviewBarPositionMobile(parent: HTMLElement) {
if (document.getElementById("previewbar") === null) {
previewBar.updatePosition(parent);
previewBar.createElement(parent);
}
}