Skip to content

Commit

Permalink
Merge pull request #860 from googleads/show-countdown-fix
Browse files Browse the repository at this point in the history
fix for Controller setShowCountdown
  • Loading branch information
Kiro705 authored Nov 20, 2019
2 parents 1092363 + 759c851 commit 784054f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ Controller.prototype.setAdBreakReadyListener = function(listener) {
Controller.prototype.setShowCountdown = function(showCountdownIn) {
this.adUi.setShowCountdown(showCountdownIn);
this.showCountdown = showCountdownIn;
this.countdownDiv.style.display = this.showCountdown ? 'block' : 'none';
this.adUi.countdownDiv.style.display = this.showCountdown ? 'block' : 'none';
};


Expand Down

0 comments on commit 784054f

Please sign in to comment.