Skip to content
This repository was archived by the owner on Jul 25, 2023. It is now read-only.

Commit 6a1e937

Browse files
committed
fix: Update event object usage to reflect API update
1 parent 1b91d2a commit 6a1e937

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sass/themes/sr/2018/components/copy-video/js/copy-video.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function onYouTubePlayerAPIReady() {
3838

3939
function onPlayerReady(event) {
4040
// The iframe that's ready to be used
41-
var readyIframeID = event.target.a.id;
41+
var readyIframeID = event.target.f.id;
4242

4343
// Construct button ID, pass to clickhandler
4444
var readyButtonID = readyIframeID + "__button";

0 commit comments

Comments
 (0)