chrome.extension.getURL is deprecated
This commit is contained in:
parent
f47b1438dd
commit
7f0fd4f6f6
2
edit.js
2
edit.js
|
@ -289,7 +289,7 @@ function acmeEventListener(event) {
|
|||
el.selectedIndex = 0;
|
||||
break;
|
||||
}
|
||||
var url = chrome.extension.getURL("codemirror/theme/" + value + ".css");
|
||||
var url = chrome.runtime.getURL("codemirror/theme/" + value + ".css");
|
||||
if (themeLink.href == url) { // preloaded in initCodeMirror()
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user