mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-21 05:21:29 +00:00
initial for RIP prototype/scriptaculous
This commit is contained in:
@@ -3,7 +3,7 @@ require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) {
|
||||
PluginHost.register(PluginHost.HOOK_ARTICLE_RENDERED_CDM, function (row) {
|
||||
if (row) {
|
||||
|
||||
row.select("video").each(function (v) {
|
||||
row.querySelectorAll("video").forEach(function (v) {
|
||||
v.muted = true;
|
||||
});
|
||||
}
|
||||
@@ -14,7 +14,7 @@ require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) {
|
||||
PluginHost.register(PluginHost.HOOK_ARTICLE_RENDERED, function (row) {
|
||||
if (row) {
|
||||
|
||||
row.select("video").each(function (v) {
|
||||
row.querySelectorAll("video").forEach(function (v) {
|
||||
v.muted = true;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user