From aa08a9b57a4192045b9c99a6e7a8efe465e344d4 Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Thu, 9 Mar 2017 08:39:39 +0200 Subject: [PATCH] Fixed links not closing drawer automatically --- rpg-docs/client/views/layout/layout.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rpg-docs/client/views/layout/layout.js b/rpg-docs/client/views/layout/layout.js index 22bbf0d2..c23893ba 100644 --- a/rpg-docs/client/views/layout/layout.js +++ b/rpg-docs/client/views/layout/layout.js @@ -18,11 +18,10 @@ const closeDrawer = function(instance){ } Template.appDrawer.events({ - "click app-drawer a": function(event, instance){ + "click a": function(event, instance){ closeDrawer(instance); }, "click .feedback": function(event, instance) { - console.log("feedback clicked"); pushDialogStack({ template: "feedback", element: event.currentTarget,