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

Commit

Permalink
Merge pull request #1 from aoguzhan/mute/unmute-tab-without-acvtivating
Browse files Browse the repository at this point in the history
mute/unmute audio without activating tab
  • Loading branch information
alioguzhan authored Jul 6, 2016
2 parents d97bf0c + 2c1f2cd commit f621f06
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 f621f06

Please sign in to comment.