Fix jquery reference on empty page

This commit is contained in:
2019-11-30 21:03:34 -05:00
parent 5eeda61e47
commit c0a7d84c21
2 changed files with 3 additions and 17 deletions
+3 -10
View File
@@ -6,9 +6,9 @@
Html.RequiresCss("~/Content/site.css"); Html.RequiresCss("~/Content/site.css");
Html.RequiresCss("~/Content/style.css"); Html.RequiresCss("~/Content/style.css");
Html.RequiresCss("~/css/rte.css"); Html.RequiresCss("~/css/rte.css");
Html.RequiresJs("~/scripts/jquery-1.12.4.js", 0); Html.RequiresJs("~/scripts/jquery-3.4.1.js", 0);
Html.RequiresJs("~/scripts/bootstrap.js", 0); Html.RequiresJs("~/scripts/bootstrap.bundle.js", 1);
Html.RequiresJs("~/scripts/site.js"); Html.RequiresJs("~/scripts/site.js", 3);
} }
<!DOCTYPE html> <!DOCTYPE html>
@@ -29,13 +29,6 @@
<!-- CSS --> <!-- CSS -->
@Html.RenderCssHere() @Html.RenderCssHere()
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="//oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="//oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head> </head>
<body> <body>
-7
View File
@@ -58,13 +58,6 @@
<!-- CSS --> <!-- CSS -->
@Html.RenderCssHere() @Html.RenderCssHere()
@RenderSection("Styles", false) @RenderSection("Styles", false)
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="//oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="//oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head> </head>
<body @{if (CompileFlag.IsDebug()) {<text>class="debug"</text>}}> <body @{if (CompileFlag.IsDebug()) {<text>class="debug"</text>}}>