mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 18:25:55 +00:00
fix af_zz_vidmute for new chrome breaking muting via setAttribute
This commit is contained in:
@@ -4,7 +4,7 @@ require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) {
|
|||||||
if (row) {
|
if (row) {
|
||||||
|
|
||||||
row.select("video").each(function (v) {
|
row.select("video").each(function (v) {
|
||||||
v.setAttribute("muted", true);
|
v.muted = true;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -15,7 +15,7 @@ require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) {
|
|||||||
if (row) {
|
if (row) {
|
||||||
|
|
||||||
row.select("video").each(function (v) {
|
row.select("video").each(function (v) {
|
||||||
v.setAttribute("muted", true);
|
v.muted = true;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user