mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Fixed an issue where there were some JS errors on the landing page settings and stopped us being redirected to the login sometimes as an admin
This commit is contained in:
parent
c235018e98
commit
2aebbe0259
3 changed files with 159 additions and 151 deletions
|
@ -118,9 +118,10 @@ namespace PlexRequests.UI.Helpers
|
|||
|
||||
public static IHtmlString LoadDateTimePickerAsset(this HtmlHelpers helper)
|
||||
{
|
||||
var startUrl = GetBaseUrl();
|
||||
var content = GetBaseUrl();
|
||||
|
||||
var sb = new StringBuilder();
|
||||
var startUrl = $"{content}/Content";
|
||||
sb.AppendLine($"<link rel=\"stylesheet\" href=\"{startUrl}/datepicker.min.css\" type=\"text/css\"/>");
|
||||
sb.AppendLine($"<script src=\"{startUrl}/bootstrap-datetimepicker.min.js\"></script>");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue