mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
Added suggested changes
Signed-off-by: Lorenzo Moscati <lorenzo@moscati.page>
This commit is contained in:
parent
3bb9cdf31d
commit
10529a597c
3 changed files with 20 additions and 7 deletions
|
|
@ -1,3 +1,7 @@
|
|||
document.addEventListener("DOMContentLoaded", function(event) {
|
||||
document.getElementById("base_path") && (document.getElementById("base_path").value = window.location.pathname.slice(0, -11));
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
basePath = document.getElementById("base_path")
|
||||
if (basePath) {
|
||||
// Remove '/containers' from the end of the path, to get the base path only
|
||||
basePath.value = window.location.pathname.slice(0, -11);
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue