mirror of
https://github.com/mue/mue.git
synced 2026-07-10 14:04:32 +02:00
Even more bug fixes
This commit is contained in:
@@ -63,8 +63,11 @@ export default class SettingsFunctions {
|
||||
localStorage.setItem('customBackgroundColour', document.getElementById('customBackgroundHex').textContent);
|
||||
}
|
||||
if (document.getElementById('searchEngineInput').enabled === 'true') {
|
||||
localStorage.setItem('searchEngine', 'custom');
|
||||
localStorage.setItem('customSearchEngine', document.getElementById('customSearchEngine').value);
|
||||
const input = document.getElementById('customSearchEngine').value;
|
||||
if (input) {
|
||||
localStorage.setItem('searchEngine', 'custom');
|
||||
localStorage.setItem('customSearchEngine', input);
|
||||
}
|
||||
}
|
||||
window.location.reload();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user