mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
Fix stopImmediatePropagation in IE8, close #2154
This commit is contained in:
parent
e900063865
commit
c2942fa530
@ -14,7 +14,9 @@ function noop() {
|
||||
|
||||
function stopPropagation(e) {
|
||||
e.stopPropagation();
|
||||
e.nativeEvent.stopImmediatePropagation();
|
||||
if (e.nativeEvent.stopImmediatePropagation) {
|
||||
e.nativeEvent.stopImmediatePropagation();
|
||||
}
|
||||
}
|
||||
|
||||
const defaultLocale = {
|
||||
|
Loading…
Reference in New Issue
Block a user