mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-13 01:56:24 +02:00
remove extra slash from base_path
This commit is contained in:
@ -997,7 +997,7 @@ globalConsoleContainerEl, externalLibrarySearchInput, keyboardShortcutsModal
|
|||||||
'<script src="' +
|
'<script src="' +
|
||||||
(chrome.extension
|
(chrome.extension
|
||||||
? chrome.extension.getURL('lib/screenlog.js')
|
? chrome.extension.getURL('lib/screenlog.js')
|
||||||
: `${location.origin}/${BASE_PATH}/lib/screenlog.js`) +
|
: `${location.origin}${BASE_PATH}/lib/screenlog.js`) +
|
||||||
'"></script>';
|
'"></script>';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1999,7 +1999,7 @@ globalConsoleContainerEl, externalLibrarySearchInput, keyboardShortcutsModal
|
|||||||
function init() {
|
function init() {
|
||||||
var lastCode;
|
var lastCode;
|
||||||
|
|
||||||
CodeMirror.modeURL = `${BASE_PATH}/lib/codemirror/mode/%N/%N.js`;
|
CodeMirror.modeURL = `lib/codemirror/mode/%N/%N.js`;
|
||||||
|
|
||||||
function getToggleLayoutButtonListener(mode) {
|
function getToggleLayoutButtonListener(mode) {
|
||||||
return function() {
|
return function() {
|
||||||
|
Reference in New Issue
Block a user