Skip to content

Commit

Permalink
🐛 fixes "require" bug in other pages
Browse files Browse the repository at this point in the history
  • Loading branch information
philippeBron committed Sep 1, 2023
1 parent f73326c commit 5d935fe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion loadCarroyageWindow.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<link rel="stylesheet" href="./assets/css/bootstrap.css">
<link rel="stylesheet" href="./assets/css/bootstrap-theme.css">
<script src="./assets/js/bootstrap.js"></script>
<script src="./assets/js/bootstrap.min.js"></script>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="./fouilles.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion loadDataWindow.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<link rel="stylesheet" href="./assets/css/bootstrap.css">
<link rel="stylesheet" href="./assets/css/bootstrap-theme.css">
<script src="./assets/js/bootstrap.js"></script>
<script src="./assets/js/bootstrap.min.js"></script>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="./fouilles.js"></script>
Expand Down
9 changes: 6 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ const createHelpWindow = () => {
height: 600,
title: 'Aide',
webPreferences: {
nodeIntegration: true
nodeIntegration: true,
contextIsolation: false
}
})
helpWindow.loadURL(url.format({
Expand All @@ -72,7 +73,8 @@ const createLoadDataWindow = () => {
height: 600,
title: 'Chargement',
webPreferences: {
nodeIntegration: true
nodeIntegration: true,
contextIsolation: false
}
})
loadDataWindow.loadURL(url.format({
Expand All @@ -93,7 +95,8 @@ const createLoadCarroyageWindow = () => {
height: 600,
title: 'Chargement',
webPreferences: {
nodeIntegration: true
nodeIntegration: true,
contextIsolation: false
}
})
loadCarroyageWindow.loadURL(url.format({
Expand Down

0 comments on commit 5d935fe

Please sign in to comment.