Merge pull request #1556 from sharelatex/cmg-search-clearing

Stop search bar clearing on enter

GitOrigin-RevId: c3dc6236e3fd889b229f68633a17b396cbe45f60
This commit is contained in:
Hugh O'Brien 2019-02-28 10:57:55 +00:00 committed by James Allen
parent 72933bdd81
commit f887bcb121

View file

@ -21,6 +21,7 @@
aria-hidden="true"
)
button.sr-only(
type="button"
ng-click="clearSearchText()"
ng-show="searchText.value.length > 0"
) #{translate('clear_search')}