about summary refs log tree commit diff
path: root/app/javascript/mastodon/components/modal_root.js
diff options
context:
space:
mode:
authorGabriel Rubens <gabrielrumiranda@gmail.com>2019-11-04 09:03:44 -0300
committerEugen Rochko <eugen@zeonfederated.com>2019-11-04 13:03:44 +0100
commit3cc9ff872f676d7ce56f7cf7875f85f804ea20a9 (patch)
tree6808d8c817e17841af1264a6ca3c01979eab51d4 /app/javascript/mastodon/components/modal_root.js
parentbe93318c0538ccfc41997301800dc347ad0f4271 (diff)
Use inert polyfill (#12209)
* Inserting wicg-inert in project

* Import wicg-inert in moda_root component

* Update yarn.lock

* Solving code style problems

* Removing package-lock
Diffstat (limited to 'app/javascript/mastodon/components/modal_root.js')
-rw-r--r--app/javascript/mastodon/components/modal_root.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/components/modal_root.js b/app/javascript/mastodon/components/modal_root.js
index 5d4f4bbe1..c55fa0f74 100644
--- a/app/javascript/mastodon/components/modal_root.js
+++ b/app/javascript/mastodon/components/modal_root.js
@@ -1,5 +1,6 @@
 import React from 'react';
 import PropTypes from 'prop-types';
+import 'wicg-inert';
 
 export default class ModalRoot extends React.PureComponent {