plugin updates
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
(function () {
|
||||
// Return early if we're not running inside of the browser.
|
||||
if (typeof window === 'undefined') {
|
||||
if (typeof window === 'undefined' || typeof Element === 'undefined') {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
var matches = Element.prototype.matches || Element.prototype.msMatchesSelector;
|
||||
|
||||
/** @type {string} */
|
||||
var _focusableElementsString = ['a[href]', 'area[href]', 'input:not([disabled])', 'select:not([disabled])', 'textarea:not([disabled])', 'button:not([disabled])', 'details', 'summary', 'iframe', 'object', 'embed', '[contenteditable]'].join(',');
|
||||
var _focusableElementsString = ['a[href]', 'area[href]', 'input:not([disabled])', 'select:not([disabled])', 'textarea:not([disabled])', 'button:not([disabled])', 'details', 'summary', 'iframe', 'object', 'embed', 'video', '[contenteditable]'].join(',');
|
||||
|
||||
/**
|
||||
* `InertRoot` manages a single inert subtree, i.e. a DOM subtree whose root element has an `inert`
|
||||
|
||||
Reference in New Issue
Block a user