We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a934bfc commit f173694Copy full SHA for f173694
root/static/js/dropdown.js
@@ -1,5 +1,5 @@
1
for (const el of document.querySelectorAll('.dropdown select')) {
2
- el.addEventListener('change', e => {
3
- document.location.href = e.target.value;
+ el.addEventListener('change', () => {
+ document.location.href = el.value;
4
});
5
}
0 commit comments