Added Floating panel to switch data

This commit is contained in:
roman committed 2022-04-22 20:36:39 +03:00
1 parent ef6fb7344a
commit 968d4e79f6
16 files changed
+148 -50

No files matched your search

+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;
})
})();