Increase log level for missing permission (#1274)

This commit is contained in:
nobody 2022-12-30 08:13:40 +01:00
parent 4affa7ad76
commit df6eb9c690
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ permission._onDocumentLoaded = function () {
} else {
document.getElementById('div-permission').hidden = false;
document.getElementById('div-content').hidden = true;
console.log('[ LocalCDN ] missing permission');
console.error('[ LocalCDN ] missing permission');
document.getElementById('grant-permission').addEventListener('click', function () {
chrome.permissions.request({'origins': ['<all_urls>']});
});