Skip to content

Commit

Permalink
Merge pull request OpenLiberty#178 from OpenLiberty/Fix_html_validati…
Browse files Browse the repository at this point in the history
…on_error

Fix validation error with no end quote in the guides search; Remove d…
  • Loading branch information
steven1046 authored Mar 2, 2018
2 parents 975a12f + 5e7d4a3 commit a17ef6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions src/main/content/_assets/js/guides.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,6 @@ $(document).ready(function() {
}
}

// Listener for the filters on the overview pane
$("#overview_links a").on("click", function(event){
var resource = $(event.currentTarget);
var type = resource.data("link");
if(type){
// Hide other types of resources
$("[data-resource][data-resource!='" + type + "']").hide();
// Show this resource
$("[data-resource][data-resource='" + type + "']").show();
}
});

/* Resize the search bar to match the width of a guide card */
function resize_search_bar(){
// Get guide card width
Expand Down
2 changes: 1 addition & 1 deletion src/main/content/guides.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<h2 id="guide_counter_title">All Open Liberty guides ({{ numGuides }})</h2>
<p id="guide_sort_message">Most recent guides shown first</p>
</div>
<input id="guide_search_input" class="col-xs-12 col-sm-6 col-md-3 type="text" placeholder="Search all guides" aria-label="Search">
<input id="guide_search_input" class="col-xs-12 col-sm-6 col-md-3" type="text" placeholder="Search all guides" aria-label="Search">
</div>
</div>
</div>
Expand Down

0 comments on commit a17ef6d

Please sign in to comment.