t() is not defined in content scripts

This commit is contained in:
tophf 2018-01-04 11:13:40 +03:00
parent e6d04fad6d
commit c9e60dc19b

View File

@ -46,7 +46,7 @@ function createSourceLoader() {
}
})
.catch(error => {
console.log(t('liveReloadError', error));
console.log(chrome.i18n.getMessage('liveReloadError', error));
})
.then(() => {
timer = setTimeout(check, DELAY);