}
markers.addLayer(marker);
-
- $(this).closest("li").addClass("selected");
}
function hideSearchResult() {
if (marker) {
markers.removeLayer(marker);
}
-
- $(this).closest("li").removeClass("selected");
}
function panToSearchResult(data) {
/* Rules for search sidebar */
#sidebar .search_results_entry {
- ul li.selected {
- background: $list-highlight;
- }
-
.search_more .loader {
display: none;
}
$darkgrey: #888;
$headerHeight: 55px;
$sidebarWidth: 350px;
-$list-highlight: #FFFFC0;
$link-color: #24d;
$link-hover-color: #24d;
<% else %>
<ul class='results-list list-group list-group-flush'>
<% @results.each do |result| %>
- <li class="list-group-item search_results_entry"><%= result_to_html(result) %></li>
+ <li class="list-group-item list-group-item-action search_results_entry"><%= result_to_html(result) %></li>
<% end %>
</ul>
<% if @more_params %>