Skip to content

Commit

Permalink
language switch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
ObedVega committed Jan 15, 2024
1 parent e01bac7 commit 5ca516b
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 5ca516b

Please sign in to comment.