Restored “Ad” in label

This commit is contained in:
Sam Potts
2018-01-24 09:06:20 +11:00
parent d4234da9aa
commit b4e22e2e7b
7 changed files with 10 additions and 8 deletions

View File

@ -155,7 +155,8 @@ class Ads {
const update = () => {
const time = utils.formatTime(this.manager.getRemainingTime());
this.elements.container.setAttribute('data-badge-text', time);
const label = `${this.player.config.i18n.advertisment} - ${time}`;
this.elements.container.setAttribute('data-badge-text', label);
};
this.countdownTimer = window.setInterval(update, 100);