aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/content.ts
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2021-06-08 22:13:57 -0400
committerAjay Ramachandran <[email protected]>2021-06-08 22:13:57 -0400
commitd2847c6a77bf2a627574b76c784507cf7c660f75 (patch)
tree4b924e753f0873ab4ddb5a616365de0f9b490e65 /src/content.ts
parent2e1b17f8bdeba7c3242ab8575234f46908e66ad1 (diff)
downloadSponsorBlock-d2847c6a77bf2a627574b76c784507cf7c660f75.tar.gz
SponsorBlock-d2847c6a77bf2a627574b76c784507cf7c660f75.zip
Changes to preview bar
Diffstat (limited to 'src/content.ts')
-rw-r--r--src/content.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content.ts b/src/content.ts
index a9e92f10..26318c45 100644
--- a/src/content.ts
+++ b/src/content.ts
@@ -761,7 +761,7 @@ function getYouTubeVideoID(url: string) {
*/
function updatePreviewBarPositionMobile(parent: HTMLElement) {
if (document.getElementById("previewbar") === null) {
- previewBar.updatePosition(parent);
+ previewBar.createElement(parent);
}
}