From 297c1f126d934d1d40cc5028fdb4614c1c6b97bd Mon Sep 17 00:00:00 2001 From: Gabe Stocco Date: Thu, 25 Apr 2019 15:40:45 -0700 Subject: [PATCH] Move jquery include up to fix an issue. (#157) * Move jquery include up to fix an issue. * Move jquery include up to fix an issue. --- Gui/Startup.cs | 8 ++++---- Gui/Views/Shared/_Layout.cshtml | 18 ++++++++++-------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/Gui/Startup.cs b/Gui/Startup.cs index 67a5dfb4a..f868962d7 100644 --- a/Gui/Startup.cs +++ b/Gui/Startup.cs @@ -70,11 +70,11 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env) browserWindowOptions.Resizable = true; browserWindowOptions.Center = true; browserWindowOptions.Title = "Attack Surface Analyzer Preview"; -#if DEBUG + //#if DEBUG browserWindowOptions.AutoHideMenuBar = false; -#else - browserWindowOptions.AutoHideMenuBar = true; -#endif + //#else + //browserWindowOptions.AutoHideMenuBar = true; + //#endif Task.Run(async () => { diff --git a/Gui/Views/Shared/_Layout.cshtml b/Gui/Views/Shared/_Layout.cshtml index 56ca6d683..0aa334f6c 100644 --- a/Gui/Views/Shared/_Layout.cshtml +++ b/Gui/Views/Shared/_Layout.cshtml @@ -20,6 +20,16 @@ } @Html.Raw(JavaScriptSnippet.FullScript) + + + + + +