We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf70a00 commit c097054Copy full SHA for c097054
1 file changed
javascripts/toggle-images.js
@@ -41,6 +41,9 @@ export default function () {
41
42
// For every image...
43
for (const img of images) {
44
+ // Ignore images in tables, which are smaller than other images.
45
+ if (img.closest('table')) continue
46
+
47
const parentSpan = img.parentNode
48
// Create a button and add some attributes.
49
const parentButton = document.createElement('button')
0 commit comments