From 2c1f2cd00da9f212989e5e4197c7a1f8ca50bef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ali=20O=C4=9Fuzhan=20Y=C4=B1ld=C4=B1z?= Date: Wed, 6 Jul 2016 06:09:31 +0300 Subject: [PATCH] mute/unmute audio without activating tab fix #2406 --- js/components/tab.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/components/tab.js b/js/components/tab.js index b52b07b54b9..d2db998d54e 100644 --- a/js/components/tab.js +++ b/js/components/tab.js @@ -76,7 +76,8 @@ class Tab extends ImmutableComponent { windowActions.closeFrame(this.props.frames, this.props.frameProps) } - onMuteFrame (muted) { + onMuteFrame (muted, event) { + event.stopPropagation() windowActions.setAudioMuted(this.props.frameProps, muted) }