1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-24 17:18:07 +02:00
pdf.js/examples
Tim van der Meij f1f58bbe67
Give all HTML button elements a type
The HTML button elements we use are all regular buttons that don't
submit form data to a server. According to
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#notes
those buttons should all have their type set to `button` explicitly, but
we only do that a handful of them. This commit fixes the issue by
consistently giving all our buttons the `button` type.

Co-authored-by: Calixte Denizet <calixte.denizet@gmail.com>
2024-07-30 18:49:18 +02:00
..
components Update the examples/-folder to account for outputting of JavaScript modules (PR 17055 follow-up) 2023-10-28 10:26:25 +02:00
image_decoders Update the examples/-folder to account for outputting of JavaScript modules (PR 17055 follow-up) 2023-10-28 10:26:25 +02:00
learning Give all HTML button elements a type 2024-07-30 18:49:18 +02:00
mobile-viewer Give all HTML button elements a type 2024-07-30 18:49:18 +02:00
node Update the examples/-folder to account for outputting of JavaScript modules (PR 17055 follow-up) 2023-10-28 10:26:25 +02:00
text-only Update the examples/-folder to account for outputting of JavaScript modules (PR 17055 follow-up) 2023-10-28 10:26:25 +02:00
webpack Fix examples/webpack/README.md. The .mjs extension is necessary. Close #17319 2023-11-23 09:25:20 +09:00
.eslintrc Enable the ESLint no-var rule globally 2021-03-13 16:12:53 +01:00