diff --git a/edit/edit.js b/edit/edit.js index d28b15f4..b2f72a7b 100644 --- a/edit/edit.js +++ b/edit/edit.js @@ -902,9 +902,9 @@ function setupGlobalSearch() { let query; let replacement; activeCM = focusClosestCM(activeCM); - customizeOpenDialog(activeCM, template[all ? 'replaceAll' : 'replace'], txt => { + customizeOpenDialog(activeCM, template[all ? 'replaceAll' : 'replace'], function (txt) { query = txt; - customizeOpenDialog(activeCM, template.replaceWith, txt => { + customizeOpenDialog(activeCM, template.replaceWith, function (txt) { replacement = txt; queue = editors.rotate(-editors.indexOf(activeCM)); if (all) {