From 5f8bd35eeb73ffbd6cae78996971d9da1a898b4a Mon Sep 17 00:00:00 2001 From: LupusUmbrae Date: Sat, 21 May 2016 15:20:40 +0100 Subject: [PATCH] Added onclick event handling for submenus - This fixes #3 --- static/javascript/kdm.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/javascript/kdm.js b/static/javascript/kdm.js index 5d761a0..f24b7c0 100644 --- a/static/javascript/kdm.js +++ b/static/javascript/kdm.js @@ -70,6 +70,12 @@ $rootScope.timeline.options.push("Nemesis"); $(function() { + $('.dropdown-submenu').click( + function() { + $('.dropdown-submenu > .dropdown-menu').css('display','block'); + return false; + }); + $("#load-dialog").dialog({ autoOpen: false, resizable: true,