Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-10-26 17:09:07 +0300
committerXhmikosR <xhmikosr@gmail.com>2020-11-05 16:37:34 +0300
commite8f1709adfd79bd8a9dd1e99b240edd39fd91d11 (patch)
treeaba9be3fd639078ef818e63eccc730d1036171e8 /js/src/dom/event-handler.js
parent0766a096055a4f34c795e77f0e5c024310d20ef4 (diff)
Drop Legacy Edge support.
This allows us to move forward without being held back. Microsoft already replaces the Legacy Edge with the new one on supported Windows versions.
Diffstat (limited to 'js/src/dom/event-handler.js')
-rw-r--r--js/src/dom/event-handler.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/js/src/dom/event-handler.js b/js/src/dom/event-handler.js
index 1d109c57ec..c228e21ba1 100644
--- a/js/src/dom/event-handler.js
+++ b/js/src/dom/event-handler.js
@@ -6,7 +6,6 @@
*/
import { getjQuery } from '../util/index'
-import { defaultPreventedPreservedOnDispatch } from './polyfill'
/**
* ------------------------------------------------------------------------
@@ -314,12 +313,6 @@ const EventHandler = {
if (defaultPrevented) {
evt.preventDefault()
-
- if (!defaultPreventedPreservedOnDispatch) {
- Object.defineProperty(evt, 'defaultPrevented', {
- get: () => true
- })
- }
}
if (nativeDispatch) {