diff options
author | zrose584 <57181548+zrose584@users.noreply.github.com> | 2020-10-18 17:58:16 +0200 |
---|---|---|
committer | zrose584 <57181548+zrose584@users.noreply.github.com> | 2020-10-18 18:48:52 +0200 |
commit | a8916b9308a4e2b7c1441a4d8d3c6d0b19c38fd2 (patch) | |
tree | c8da0b06304993904214b2018d8ea33355c0c02e /youtube/static/js/hotkeys.js | |
parent | f7f2b9fa06fd2218179636c712e43f0c4d65bd9e (diff) | |
download | yt-local-a8916b9308a4e2b7c1441a4d8d3c6d0b19c38fd2.tar.lz yt-local-a8916b9308a4e2b7c1441a4d8d3c6d0b19c38fd2.tar.xz yt-local-a8916b9308a4e2b7c1441a4d8d3c6d0b19c38fd2.zip |
proxy 'sponsor.ajay.app'
Diffstat (limited to 'youtube/static/js/hotkeys.js')
-rw-r--r-- | youtube/static/js/hotkeys.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube/static/js/hotkeys.js b/youtube/static/js/hotkeys.js index 1f41510..e199f3b 100644 --- a/youtube/static/js/hotkeys.js +++ b/youtube/static/js/hotkeys.js @@ -37,9 +37,8 @@ function onKeyDown(e) { else tt.mode = "showing"; } else if (c == "t") { - let video_id = getVideoID(); let ts = Math.floor(Q("video").currentTime); - copyTextToClipboard(`https://youtu.be/${video_id}?t=${ts}`); + copyTextToClipboard(`https://youtu.be/${data.video_id}?t=${ts}`); } } |