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;
|
el.selectedIndex = 0;
|
||||||
break;
|
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()
|
if (themeLink.href == url) { // preloaded in initCodeMirror()
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user