HolgerJeromin left a comment (openstreetmap/openstreetmap-website#7142)

As I wrote earlier:
I would remove jQuery.
After removing the plugins this seems quite easy.

Some places will get longer code like
```js
$(".someinputs").val("")
```
will get
```js
for (const el of document.querySelectorAll(".someinputs"))
  el.value =""
```
or
```js
document.querySelectorAll(".someinputs")).forEach(el => {
   el.value =""; 
})
```
but thats life.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/7142#issuecomment-4663843011
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/issues/7142/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to