mirror of
https://github.com/mue/mue.git
synced 2026-06-13 03:58:49 +02:00
fix: duckduckgo proxy no longer breaks offline mode
This commit is contained in:
@@ -68,7 +68,7 @@ export default class Background extends React.PureComponent {
|
||||
const backgroundImage = document.getElementById('backgroundImage');
|
||||
|
||||
if (this.state.url !== '') {
|
||||
const url = (localStorage.getItem('ddgProxy') === 'true') ? window.constants.DDG_PROXY + this.state.url : this.state.url;
|
||||
const url = (localStorage.getItem('ddgProxy') === 'true' && this.state.photoInfo.offline !== true) ? window.constants.DDG_PROXY + this.state.url : this.state.url;
|
||||
const photoInformation = document.querySelector('.photoInformation');
|
||||
|
||||
// just set the background
|
||||
|
||||
Reference in New Issue
Block a user