aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2020-12-15 22:34:45 -0500
committerJesús <heckyel@hyperbola.info>2020-12-15 22:34:45 -0500
commit97f00efa8aea3b9a7f0fc38335c21450bd6f6038 (patch)
tree6dc82c7e648d6723ab054f85d6dea336b2bea1a4
parentb9a3082e7c654d97cecc5410c086e13a7b046909 (diff)
downloadyt-local-97f00efa8aea3b9a7f0fc38335c21450bd6f6038.tar.lz
yt-local-97f00efa8aea3b9a7f0fc38335c21450bd6f6038.tar.xz
yt-local-97f00efa8aea3b9a7f0fc38335c21450bd6f6038.zip
Migration general theme: fix video player method in javascript
-rw-r--r--youtube/templates/watch.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html
index 8a23cc4..dbc7e83 100644
--- a/youtube/templates/watch.html
+++ b/youtube/templates/watch.html
@@ -45,7 +45,7 @@
{% if time_start != 0 %}
<script>
- document.querySelector('js-video-player').currentTime = {{ time_start|tojson }};
+ document.getElementById('js-video-player').currentTime = {{ time_start|tojson }};
</script>
{% endif %}
{% endif %}