Merge remote-tracking branch 'upstream/main' into main
This commit is contained in:
commit
7a28b02ce8
|
@ -10,7 +10,7 @@ If you’d like to contribute:
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
It’s important that the pull request merge cleanly with master.
|
It’s important that the pull request merge cleanly with the git branch `main`.
|
||||||
|
|
||||||
You should have read the [coding guidelines](Technotes/CodingGuidelines.md) first. If your code doesn’t follow the guidelines, we will likely suggest revising it.
|
You should have read the [coding guidelines](Technotes/CodingGuidelines.md) first. If your code doesn’t follow the guidelines, we will likely suggest revising it.
|
||||||
|
|
||||||
|
|
|
@ -72,6 +72,7 @@ function inlineVideos() {
|
||||||
element.setAttribute("playsinline", true);
|
element.setAttribute("playsinline", true);
|
||||||
if (!element.classList.contains("nnwAnimatedGIF")) {
|
if (!element.classList.contains("nnwAnimatedGIF")) {
|
||||||
element.setAttribute("controls", true);
|
element.setAttribute("controls", true);
|
||||||
|
element.removeAttribute("autoplay");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue