mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 17:25:32 +00:00
splitting all js into individual files to comparmentalize and getting rid of onload event (in favour of defer)
This commit is contained in:
@@ -7,10 +7,8 @@
|
||||
if (Model.MinWidthTrad)
|
||||
minwidthtrads = "ha-minwidth";
|
||||
}
|
||||
@* No JavaScript Settings *@
|
||||
<noscript>
|
||||
@* TODO *@
|
||||
</noscript>
|
||||
|
||||
<script defer src="/js/briefe.js" asp-append-version="true"></script>
|
||||
|
||||
<div class="ha-letterheader">
|
||||
@await Html.PartialAsync("/Views/Shared/_LetterHead.cshtml", (Model.MetaData, false, false))
|
||||
@@ -154,12 +152,4 @@
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@* <script src="~/js/mark.min.js" asp-append-version="true"></script>
|
||||
<script>
|
||||
var instance = new Mark(document.querySelectorAll(".ha-letterbody"));
|
||||
instance.mark('l', { "element": "span", "className": "ha-found", "acrossElements": true, "separateWordSearch": false, "exclude": [".ha-searchresultcommentpill", ".ha-letlink", ".ha-letlinks", ".ha-hkb"]});
|
||||
|
||||
</script> *@
|
||||
</div>
|
||||
Reference in New Issue
Block a user