File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed
src/components/common/modals Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77Please check our [ developers guide] ( https://gitlab.com/tokend/developers-guide )
88for further information about branching and tagging conventions.
99
10+ ## [ 1.14.0-rc.1] - 2022-08-03
11+ #### Fixed
12+ - Modal ` event.path ` on Firefox
13+
1014## [ 1.14.0-rc.0] - 2021-02-09
1115#### Added
1216- Ability to delete key-value
@@ -590,7 +594,8 @@ for further information about branching and tagging conventions.
590594
591595## [ 1.3.0] - 2019-03-01
592596
593- [ Unreleased ] : https://github.com/tokend/admin-panel/compare/1.14.0-rc.0...HEAD
597+ [ Unreleased ] : https://github.com/tokend/admin-panel/compare/1.14.0-rc.1...HEAD
598+ [ 1.14.0-rc.1 ] : https://github.com/tokend/admin-panel/compare/1.14.0-rc.0...1.14.0-rc.1
594599[ 1.14.0-rc.0 ] : https://github.com/tokend/admin-panel/compare/1.13.0...1.14.0-rc.0
595600[ 1.13.0 ] : https://github.com/tokend/admin-panel/compare/1.13.0-rc.1...1.13.0
596601[ 1.13.0-rc.1 ] : https://github.com/tokend/admin-panel/compare/1.13.0-rc.0...1.13.0-rc.1
Original file line number Diff line number Diff line change 11{
22 "name" : " admin-panel" ,
3- "version" : " 1.14.0-rc.0 " ,
3+ "version" : " 1.14.0-rc.1 " ,
44 "description" : " A TokenD admin client" ,
55 "author" : " Distributed Lab <contact@distributedlab.com>" ,
66 "private" : true ,
Original file line number Diff line number Diff line change @@ -28,8 +28,11 @@ export default {
2828 onClick (event ) {
2929 let isContentClicked
3030 try {
31- isContentClicked = event .path
32- .map (item => item .className )
31+ const path = event .path || (event .composedPath && event .composedPath ())
32+ isContentClicked = path
33+ .map (item => {
34+ return item .className
35+ })
3336 .includes (' modal__content' )
3437 } catch (error) { // older browsers
3538 isContentClicked = event .target .className === ' modal__content'
You can’t perform that action at this time.
0 commit comments