mirror of
https://github.com/zadam/trilium.git
synced 2026-02-18 11: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>
|
<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>
|
</form>
|
||||||
|
|
||||||
<script src="../lib/cash.min.js"></script>
|
<script type="module" src="../../lib/cash.min.js"></script>
|
||||||
<script src="../lib/browser-polyfill.js"></script>
|
<script type="module" src="../../lib/browser-polyfill.js"></script>
|
||||||
<script src="options.js"></script>
|
<script type="module" src="index.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|||||||
@ -46,11 +46,11 @@
|
|||||||
<div>Status: <span id="connection-status">unknown</span></div>
|
<div>Status: <span id="connection-status">unknown</span></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="../lib/browser-polyfill.js"></script>
|
<script type="module" src="../../lib/browser-polyfill.js"></script>
|
||||||
<script src="../lib/cash.min.js"></script>
|
<script type="module" src="../../lib/cash.min.js"></script>
|
||||||
<script src="popup.js"></script>
|
<script type="module" src="popup.js"></script>
|
||||||
<script src="../utils.js"></script>
|
<script type="module" src="../../utils.js"></script>
|
||||||
<script src="../content.js"></script>
|
<script type="module" src="../../content.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
console.log("Popup script loaded");
|
||||||
|
|
||||||
async function sendMessage(message) {
|
async function sendMessage(message) {
|
||||||
try {
|
try {
|
||||||
return await browser.runtime.sendMessage(message);
|
return await browser.runtime.sendMessage(message);
|
||||||
@ -164,7 +166,7 @@ browser.runtime.onMessage.addListener(request => {
|
|||||||
}else{
|
}else{
|
||||||
$alreadyVisited.html('');
|
$alreadyVisited.html('');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user