Increase log level for missing permission (#1274)
This commit is contained in:
parent
4affa7ad76
commit
df6eb9c690
|
@ -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>']});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue