From 1cf69d435d7b31c803d956692020c3d5f74df90d Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <noreply@fakecake.org>
Date: Tue, 11 Sep 2018 11:46:10 +0300
Subject: [PATCH] fix af_zz_vidmute for new chrome breaking muting via
 setAttribute

---
 plugins/af_zz_vidmute/init.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/plugins/af_zz_vidmute/init.js b/plugins/af_zz_vidmute/init.js
index 8968792a0..fab9b99e6 100644
--- a/plugins/af_zz_vidmute/init.js
+++ b/plugins/af_zz_vidmute/init.js
@@ -4,7 +4,7 @@ require(['dojo/_base/kernel', 'dojo/ready'], function  (dojo, ready) {
 			if (row) {
 
 				row.select("video").each(function (v) {
-					v.setAttribute("muted", true);
+					v.muted = true;
 				});
 			}
 
@@ -15,11 +15,11 @@ require(['dojo/_base/kernel', 'dojo/ready'], function  (dojo, ready) {
 			if (row) {
 
 				row.select("video").each(function (v) {
-					v.setAttribute("muted", true);
+					v.muted = true;
 				});
 			}
 
 			return true;
 		});
 	});
-});
\ No newline at end of file
+});
-- 
GitLab