[openstreetmap/openstreetmap-website] Remove jQuery (Issue #7142)

Holger Jeromin notifications at github.com
Tue Jun 9 20:43:47 UTC 2026


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/4663843011 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260609/b0feb73b/attachment-0001.htm>


More information about the rails-dev mailing list