Added Floating panel to switch data

This commit is contained in:
2022-04-22 20:36:39 +03:00
parent ef6fb7344a
commit 968d4e79f6
16 changed files with 148 additions and 50 deletions
+13
View File
@@ -0,0 +1,13 @@
(function () {
const dataOptionsSelect = document.getElementById('data-options');
if (!dataOptionsSelect) {
return;
}
dataOptionsSelect.addEventListener('change', function () {
console.log(this.value)
window.location = '?data=' + this.value;
})
})();