Merge remote-tracking branch 'upstream/main' into main

This commit is contained in:
Stuart Breckenridge 2021-04-10 16:09:49 +08:00
commit 7a28b02ce8
No known key found for this signature in database
GPG Key ID: ED2F112EEA9EF8A5
2 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,7 @@ If youd like to contribute:
## Notes ## Notes
Its important that the pull request merge cleanly with master. Its 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 doesnt follow the guidelines, we will likely suggest revising it. You should have read the [coding guidelines](Technotes/CodingGuidelines.md) first. If your code doesnt follow the guidelines, we will likely suggest revising it.

View File

@ -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");
} }
}); });
} }