Fixed bugs
This commit is contained in:
parent
01ef1b0833
commit
d14a59435a
@ -34,13 +34,13 @@ function initialize() {
|
||||
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.onload = () => {
|
||||
AKS.actionIcons = JSON.parse(this.response);
|
||||
AKS.actionIcons = JSON.parse(xhr.response);
|
||||
completeInitialization();
|
||||
};
|
||||
xhr.open('GET', chrome.extension.getURL('/action_icons.json'), true);
|
||||
xhr.open('GET', chrome.extension.getURL('action_icons.json'), true);
|
||||
xhr.send();
|
||||
}
|
||||
|
||||
initialize;
|
||||
initialize();
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user