mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[FIX] playground: fix broken links
This commit is contained in:
+3
-3
@@ -196,7 +196,7 @@ class App extends owl.Component {
|
|||||||
// inject js
|
// inject js
|
||||||
const owlScript = doc.createElement("script");
|
const owlScript = doc.createElement("script");
|
||||||
owlScript.type = "text/javascript";
|
owlScript.type = "text/javascript";
|
||||||
owlScript.src = "/libs/owl.js";
|
owlScript.src = "../libs/owl.js";
|
||||||
owlScript.addEventListener("load", () => {
|
owlScript.addEventListener("load", () => {
|
||||||
const script = doc.createElement("script");
|
const script = doc.createElement("script");
|
||||||
script.type = "text/javascript";
|
script.type = "text/javascript";
|
||||||
@@ -278,8 +278,8 @@ class App extends owl.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async downloadCode() {
|
async downloadCode() {
|
||||||
await owl.utils.loadJS("/libs/FileSaver.min.js");
|
await owl.utils.loadJS("../libs/FileSaver.min.js");
|
||||||
await owl.utils.loadJS("/libs/jszip.min.js");
|
await owl.utils.loadJS("../libs/jszip.min.js");
|
||||||
|
|
||||||
const zip = new JSZip();
|
const zip = new JSZip();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user