We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 376f8f7 commit 379973eCopy full SHA for 379973e
client/utils/codemirror-search.js
@@ -84,7 +84,7 @@ function persistentDialog(cm, text, deflt, onEnter, replaceOpened, onKeyDown) {
84
CodeMirror.on(searchField, "keyup", function (e) {
85
if (e.keyCode !== 13 && searchField.value.length > 1) { // not enter and more than 1 character to search
86
startSearch(cm, getSearchState(cm), searchField.value);
87
- } else if (searchField.value.length <= 1) {
+ } else if (searchField.value.length < 1) {
88
cm.display.wrapper.querySelector('.CodeMirror-search-results').innerText = i18n.t('CodemirrorFindAndReplace.NoResults');
89
}
90
});
0 commit comments