mirror of
https://github.com/mue/mue.git
synced 2026-07-24 01:07:23 +02:00
fix: search button and refactor wind direction icon slightly
This commit is contained in:
@@ -48,8 +48,8 @@ export default class Search extends React.PureComponent {
|
||||
searchButton = (e) => {
|
||||
let value;
|
||||
|
||||
if (e) {
|
||||
value = e;
|
||||
if (e.target.innerText !== undefined) {
|
||||
value = e.target.innerText;
|
||||
} else {
|
||||
value = document.getElementById('searchtext').value || 'mue fast';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user