Skip to content

Commit

Permalink
language switch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
ObedVega committed Jan 15, 2024
1 parent 5ca516b commit 79ad7b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions supplemental_ui/js/lang.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
function switchLanguage(lan) {
let path, page, indexFile, file, newUrl, salida;
path = document.location.href;
//alert(path);
alert(path);
//path = document.location.pathname;
//page = path.split("/");
page = path.split('/').filter(Boolean);
//alert(page);
alert(page);
let regulus = "regulus";
let devops = "devops";

Expand Down

0 comments on commit 79ad7b0

Please sign in to comment.