Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
mute/unmute audio without activating tab
Browse files Browse the repository at this point in the history
fix #2406
  • Loading branch information
alioguzhan authored Jul 6, 2016
1 parent d97bf0c commit 2c1f2cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/components/tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 2c1f2cd

Please sign in to comment.