X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/1896ffefd4c448d4445bb510e9ac5992a8f20361..c24bf5fa92daf6b6f2b2d2c31113e387b5025841:/redakcja/static/js/wiki/view_search.js?ds=sidebyside diff --git a/redakcja/static/js/wiki/view_search.js b/redakcja/static/js/wiki/view_search.js index 34393dc4..740c9136 100644 --- a/redakcja/static/js/wiki/view_search.js +++ b/redakcja/static/js/wiki/view_search.js @@ -64,8 +64,7 @@ self.searchCursor = self.editor.getSearchCursor( self.$searchInput.val(), self.options['search-from-cursor'], - self.options['search-regexp'], - self.options['search-case-sensitive'] + !self.options['search-case-sensitive'] ); } if (self.searchCursor.findNext()) {