mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Fix : Drawer was not opening when clicking on text
- SettingsController : event is stopped after click on icon has been processed. This way onBodyClick callback is not triggered
This commit is contained in:
parent
087b8c57c5
commit
f139a9c130
@ -60,6 +60,8 @@
|
|||||||
} else {
|
} else {
|
||||||
this.closeDrawer();
|
this.closeDrawer();
|
||||||
}
|
}
|
||||||
|
evt.originalEvent.stopPropagation();
|
||||||
|
evt.originalEvent.preventDefault();
|
||||||
};
|
};
|
||||||
|
|
||||||
ns.SettingsController.prototype.onBodyClick = function (evt) {
|
ns.SettingsController.prototype.onBodyClick = function (evt) {
|
||||||
|
Loading…
Reference in New Issue
Block a user