diff --git a/packages/slate-dev-environment/src/index.js b/packages/slate-dev-environment/src/index.js index b6c822d45..a9c1e2b37 100644 --- a/packages/slate-dev-environment/src/index.js +++ b/packages/slate-dev-environment/src/index.js @@ -65,7 +65,7 @@ const FEATURE_RULES = [ [ 'inputeventslevel1', window => { - const event = window.InputEvent ? new InputEvent('input') : {} + const event = window.InputEvent ? new window.InputEvent('input') : {} const support = 'inputType' in event return support },