diff --git a/edit.js b/edit.js index 3974257b..b0f00888 100644 --- a/edit.js +++ b/edit.js @@ -408,7 +408,7 @@ function setupGlobalSearch() { pos = reverse ? CodeMirror.Pos(cm.lastLine()) : CodeMirror.Pos(0, 0); } var searchCursor = cm.getSearchCursor(state.query, pos, shouldIgnoreCase(state.query)); - if (searchCursor.find(reverse) || editors.length == 1) { + if (searchCursor.find(reverse)) { if (editors.length > 1) { makeSectionVisible(cm); cm.focus();