Fixes and new text on settings modal

This commit is contained in:
David Ralph
2020-10-13 17:50:22 +01:00
parent 44281c2449
commit d9021b0f57
5 changed files with 12 additions and 3 deletions

View File

@@ -40,6 +40,7 @@ export default class Background extends React.PureComponent {
let credit = photographer;
if (unsplash) credit = `<a href='${url}' class='creditlink'>${photographer}</a> on <a href='https://unsplash.com/?utm_source=mue&utm_medium=referral' class='creditlink'>Unsplash</a>`;
document.querySelector('#photographer').insertAdjacentHTML("beforeend", ` ${credit}`); // Append credit
document.getElementById('credit').textContent = credit;
}
doOffline() { // Handles setting the background if the user is offline

View File

@@ -54,7 +54,7 @@ export default class Search extends React.PureComponent {
return (
<div id='searchBar' className='searchbar'>
<form id='searchBar' className='searchbarform' action={url}>
{microphone}
{microphone}
<SearchIcon onClick={() => searchButton()} id='searchButton' />
<input type='text' placeholder={this.props.language} name={query} id='searchtext' className='searchtext'/>
<div className='blursearcbBG'/>