We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3955f20 commit a486a5fCopy full SHA for a486a5f
1 file changed
HTML5Volume.user.js
@@ -88,7 +88,7 @@
88
89
// 判断该视频/音频元素是否已监听事件
90
function isFirstEvent(target) {
91
- //if (!target.controls) return; // 如果视频/音频已经有了自己的控件(即没有使用 HTML5 默认的控件),则退出
+ if (!target.controls) return; // 如果视频/音频已经有了自己的控件(即没有使用 HTML5 默认的控件),则退出
92
modifyVolume(target);
93
// 如果没有该属性,则代表是还未监听事件
94
if (target.dataset.html5VolumeXiu != 'true') {
0 commit comments