Skip to content

Commit 7340405

Browse files
committed
Formatting 💄
1 parent 9c69754 commit 7340405

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

static/shared/js/documentation.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,13 @@ $(function() {
120120
if (localStorageHasExpired())
121121
loadSearchIndex();
122122
} else {
123-
loadSearchIndex();
123+
loadSearchIndex();
124124
}
125125

126126
function loadSearchIndex() {
127127
$.getJSON('/search-index.json', function(data) {
128128
searchIndex = data["pages"];
129-
localStorage['searchIndex'] = JSON.stringify(searchIndex);
129+
localStorage['searchIndex'] = JSON.stringify(searchIndex);
130130
localStorage['updated'] = new Date().getTime();
131131
});
132132
}
@@ -143,7 +143,7 @@ $(function() {
143143
// On input change, update the search results
144144
$("#searchfield").on("input", function(e) {
145145
$(this).val().length > 0 ? $("#search-container").addClass("active") : $("#search-container").removeClass("active");
146-
146+
147147
searchForString($(this).val());
148148
});
149149

@@ -236,11 +236,11 @@ $(function() {
236236

237237
function moveSearchSelectionUp() {
238238
$prev = $("#search-results .selected").prev();
239-
if ($prev.length < 1)
239+
if ($prev.length < 1)
240240
return;
241241

242242
$("#search-results .selected").removeClass("selected");
243-
$prev.addClass("selected");
243+
$prev.addClass("selected");
244244
}
245245

246246
function moveSearchSelectionDown() {
@@ -249,7 +249,7 @@ $(function() {
249249
return;
250250

251251
$("#search-results .selected").removeClass("selected");
252-
$next.addClass("selected");
252+
$next.addClass("selected");
253253
}
254254

255255
function goToSelectedSearchResult() {

0 commit comments

Comments
 (0)