mirror of
https://github.com/mue/mue.git
synced 2026-07-15 13:03:55 +02:00
Fixes and new text on settings modal
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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'/>
|
||||
|
||||
Reference in New Issue
Block a user