mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-02 18:32:55 +00:00
Fix javascript syntax error
This commit is contained in:
1 parent
0b4fb4250a
commit
f7d5cf4f58
1 file changed
+3
-3
@@ -52,9 +52,9 @@ function wrapTables() {
|
||||
// on an iphone when viewing an article.
|
||||
function inlineVideos() {
|
||||
document.querySelectorAll("video").forEach(element => {
|
||||
element.setAttribute("playsinline", true)
|
||||
if !element.classList.contains("nnwAnimatedGIF") {
|
||||
element.setAttribute("controls", true)
|
||||
element.setAttribute("playsinline", true);
|
||||
if (!element.classList.contains("nnwAnimatedGIF")) {
|
||||
element.setAttribute("controls", true);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user