Ready event fix, YouTube play event fix, docs update
This commit is contained in:
4
demo/dist/demo.js
vendored
4
demo/dist/demo.js
vendored
@ -32,7 +32,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
|
||||
// Delay the adding of classname until the focus has changed
|
||||
// This event fires before the focusin event
|
||||
window.setTimeout(function () {
|
||||
setTimeout(function () {
|
||||
document.activeElement.classList.add(tabClassName);
|
||||
}, 0);
|
||||
});
|
||||
@ -59,7 +59,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
}
|
||||
});
|
||||
|
||||
// Expose for testing
|
||||
// Expose for tinkering in the console
|
||||
window.player = player;
|
||||
|
||||
// Setup type toggle
|
||||
|
Reference in New Issue
Block a user