mirror of
https://github.com/zadam/trilium.git
synced 2026-01-31 02:44:24 +01:00
fix(web-clipper): script imports
This commit is contained in:
parent
cb8b968637
commit
ab95f6dcc2
@ -54,9 +54,9 @@
|
||||
<p>Note that the entered password is not stored anywhere, it will be only used to retrieve an authorization token from the server instance which will be then used to send the clipped notes.</p>
|
||||
</form>
|
||||
|
||||
<script src="../lib/cash.min.js"></script>
|
||||
<script src="../lib/browser-polyfill.js"></script>
|
||||
<script src="options.js"></script>
|
||||
<script type="module" src="../../lib/cash.min.js"></script>
|
||||
<script type="module" src="../../lib/browser-polyfill.js"></script>
|
||||
<script type="module" src="index.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
@ -46,11 +46,11 @@
|
||||
<div>Status: <span id="connection-status">unknown</span></div>
|
||||
</div>
|
||||
|
||||
<script src="../lib/browser-polyfill.js"></script>
|
||||
<script src="../lib/cash.min.js"></script>
|
||||
<script src="popup.js"></script>
|
||||
<script src="../utils.js"></script>
|
||||
<script src="../content.js"></script>
|
||||
<script type="module" src="../../lib/browser-polyfill.js"></script>
|
||||
<script type="module" src="../../lib/cash.min.js"></script>
|
||||
<script type="module" src="popup.js"></script>
|
||||
<script type="module" src="../../utils.js"></script>
|
||||
<script type="module" src="../../content.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
console.log("Popup script loaded");
|
||||
|
||||
async function sendMessage(message) {
|
||||
try {
|
||||
return await browser.runtime.sendMessage(message);
|
||||
@ -164,7 +166,7 @@ browser.runtime.onMessage.addListener(request => {
|
||||
}else{
|
||||
$alreadyVisited.html('');
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user