diff --git a/edit.js b/edit.js index 3ea0dcf0..9ac64449 100644 --- a/edit.js +++ b/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; }