Skip to content
Permalink
Browse files

fix: scope issue

  • Loading branch information...
yairans committed Mar 27, 2019
1 parent 042a34d commit 30e1795b661d3c910172a8ff55ea0eef18f07f7f
Showing with 2 additions and 1 deletion.
  1. +2 −1 modules/unMuteOverlayButton/resources/unMuteOverlayButton.js
@@ -43,8 +43,9 @@

this.bind('volumeChanged', function () {
if ((this.getPlayer().getPlayerElementVolume() > 0) && !this.getPlayer().isMuted()) {
var _this = this;
this.getComponent().fadeOut('slow', function () {
this.destroy();
_this.destroy();
});
}
}.bind(this));

0 comments on commit 30e1795

Please sign in to comment.
You can’t perform that action at this time.