chore(share): remove redundant script import

This commit is contained in:
Elian Doran 2025-06-09 14:28:13 +03:00
parent 41edab3857
commit 3cd4b1b67e
No known key found for this signature in database

View File

@ -10,7 +10,6 @@
<link rel="shortcut icon" href="<% if (note.hasRelation("shareFavicon")) { %>api/notes/<%= note.getRelation("shareFavicon").value %>/download<% } else { %>../favicon.ico<% } %>">
<script src="<%= appPath %>/share.js" type="module"></script>
<link href="../<%= assetPath %>/libraries/normalize.min.css" rel="stylesheet">
<% if (!note.isLabelTruthy("shareOmitDefaultCss")) { %>
<link href="<%= assetPath %>/stylesheets/share.css" rel="stylesheet">
<% } %>
@ -51,9 +50,6 @@ const customServerYml = `- url: "{protocol}://{domain}:{port}/etapi"
</script>
<% } %>
<% if (note.type === "text" || note.type === "book") { %>
<link href="../<%= assetPath %>/libraries/ckeditor/ckeditor-content.css" rel="stylesheet">
<% } %>
<% for (const cssRelation of note.getRelations("shareCss")) { %>
<link href="api/notes/<%= cssRelation.value %>/download" rel="stylesheet">
<% } %>