Browse Source

Fixed bugs

master
Said Achmiz 7 years ago
parent
commit
d14a59435a
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/background.js

+ 3
- 3
src/background.js View File



var xhr = new XMLHttpRequest(); var xhr = new XMLHttpRequest();
xhr.onload = () => { xhr.onload = () => {
AKS.actionIcons = JSON.parse(this.response);
AKS.actionIcons = JSON.parse(xhr.response);
completeInitialization(); completeInitialization();
}; };
xhr.open('GET', chrome.extension.getURL('/action_icons.json'), true);
xhr.open('GET', chrome.extension.getURL('action_icons.json'), true);
xhr.send(); xhr.send();
} }


initialize;
initialize();





Loading…
Cancel
Save