From f139a9c1300e8466a2ad89599b82f7d1759da94b Mon Sep 17 00:00:00 2001 From: jdescottes Date: Thu, 13 Mar 2014 00:22:15 +0100 Subject: [PATCH] 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 --- js/controller/settings/SettingsController.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/controller/settings/SettingsController.js b/js/controller/settings/SettingsController.js index dc20b2d2..acff6e0c 100644 --- a/js/controller/settings/SettingsController.js +++ b/js/controller/settings/SettingsController.js @@ -60,6 +60,8 @@ } else { this.closeDrawer(); } + evt.originalEvent.stopPropagation(); + evt.originalEvent.preventDefault(); }; ns.SettingsController.prototype.onBodyClick = function (evt) {