Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
squi-ddy committed Sep 19, 2023
1 parent bdf0ad8 commit a537445
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/mixins/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,15 @@ export function addPyScript() {
const env = document.createElement('py-config');
env.innerHTML = `
packages = ["numpy", "matplotlib"]
[splashscreen]
enabled = false
`
document.head.appendChild(env);
const script = document.createElement('script');
script.id = 'pyscript';
script.defer = true
script.src = 'https://pyscript.net/alpha/pyscript.js';
script.src = 'https://pyscript.net/latest/pyscript.js';
document.head.appendChild(script);
const styles = document.createElement('style');
styles.innerHTML = `
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Index/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ body.rb.rb-lock-off {
}
}
py-loader py-terminal {
py-loader, py-terminal {
display: none;
}
Expand Down

0 comments on commit a537445

Please sign in to comment.