Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Fix JSLint errors introduced by PR #5002
Browse files Browse the repository at this point in the history
  • Loading branch information
peterflynn committed Sep 13, 2013
1 parent 41b71aa commit 5f7ce7c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/search/FindReplace.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ define(function (require, exports, module) {
"<span id='find-counter'></span> " +
"<span style='color: #888'>(" + Strings.SEARCH_REGEXP_INFO + ")</span>" +
"</div>" +
"<div class='error'></div>";
"<div class='error'></div>";


function toggleHighlighting(editor, enabled) {
Expand Down Expand Up @@ -292,7 +292,7 @@ define(function (require, exports, module) {
if (resultCount === 0) {
$("#find-counter").text(Strings.FIND_NO_RESULTS);
} else if (resultCount === 1) {
$("#find-counter").text(Strings.FIND_RESULT_COUNT_SINGLE);
$("#find-counter").text(Strings.FIND_RESULT_COUNT_SINGLE);
} else {
$("#find-counter").text(StringUtils.format(Strings.FIND_RESULT_COUNT, resultCount));
enableNavigator = true;
Expand Down Expand Up @@ -343,9 +343,9 @@ define(function (require, exports, module) {

modalBar.getRoot().on("click", function (e) {
if (e.target.id === "find-next") {
_findNext();
doSearch(editor);
} else if (e.target.id === "find-prev") {
_findPrevious();
doSearch(editor, true);
}
});

Expand Down

0 comments on commit 5f7ce7c

Please sign in to comment.