From c9dcccdc90a91e8b78861a5bfb9c967270379847 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 7 Oct 2013 16:35:39 -0700 Subject: [PATCH] Don't route clicks on the dropdown menus --- app/assets/javascripts/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index db858c7c1..59335ff84 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -283,6 +283,7 @@ $(document).ready(function () { }); $(document).on("click", "a", function(e) { + if (e.isPropagationStopped()) return; if (router(this.pathname + this.search + this.hash)) e.preventDefault(); }); -- 2.43.2