Skip to content

Commit

Permalink
show feedback link in more situations
Browse files Browse the repository at this point in the history
  • Loading branch information
PalmerAL committed Apr 28, 2020
1 parent 3425f61 commit 4fc0b42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion css/searchbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ body:not(.mac) #searchbar .searchbar-item.has-action-button:hover .icon-image {
font-size: 0.8em;
opacity: 0.75;
text-decoration: underline;
padding: 0.33em 0.6875em 0.75em 0.6875em;
padding: 0.5em 0.6875em 0.5em 0.6875em;
}

.search-feedback-link:hover {
Expand Down
2 changes: 1 addition & 1 deletion js/searchbar/placesPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function showSearchbarPlaceResults (text, input, event, pluginName = 'places') {
}
})

if (surveyURL && pluginName === 'fullTextPlaces' && results.length > 0) {
if (surveyURL && pluginName === 'fullTextPlaces') {
var feedbackLink = document.createElement('span')
feedbackLink.className = 'search-feedback-link'
feedbackLink.textContent = 'Search Feedback'
Expand Down

0 comments on commit 4fc0b42

Please sign in to comment.