Trap focus fix

This commit is contained in:
Sam Potts
2017-11-07 18:01:24 +11:00
parent e2c7491ccd
commit 966ca1acc3
5 changed files with 22 additions and 16 deletions

3
src/js/controls.js vendored
View File

@ -1134,8 +1134,7 @@ const controls = {
// Larger overlaid play button
if (this.config.controls.includes('play-large')) {
this.elements.buttons.playLarge = controls.createButton.call(this, 'play-large');
this.elements.container.appendChild(this.elements.buttons.playLarge);
this.elements.container.appendChild(controls.createButton.call(this, 'play-large'));
}
this.elements.controls = container;