aboutsummaryrefslogtreecommitdiffstats
path: root/demo/dist/demo.js
diff options
context:
space:
mode:
Diffstat (limited to 'demo/dist/demo.js')
-rw-r--r--demo/dist/demo.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/dist/demo.js b/demo/dist/demo.js
index e61105f4..6044fdb0 100644
--- a/demo/dist/demo.js
+++ b/demo/dist/demo.js
@@ -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