diff --git a/public/assets/scripts/dash/app/controllers/SettingsIndex.js b/public/assets/scripts/dash/app/controllers/SettingsIndex.js index b30a938..db2e9f3 100644 --- a/public/assets/scripts/dash/app/controllers/SettingsIndex.js +++ b/public/assets/scripts/dash/app/controllers/SettingsIndex.js @@ -200,11 +200,11 @@ export default class SettingsIndex { .then(r => { if (type == 'avatar-upload') { notify.alert(r.message, true); - document.querySelector('[role="avatar"]').style.background = + document.querySelector('.avatar').style.background = 'url(' + r.filePath + ') no-repeat center center / cover'; } else { notify.alert(r.message, true); - document.querySelector('[role="background"]').style.background = + document.querySelector('.background').style.background = 'url(' + r.filePath + ') no-repeat center center / cover'; } }) diff --git a/resources/views/frame.blade.php b/resources/views/frame.blade.php index a744598..94cc99a 100644 --- a/resources/views/frame.blade.php +++ b/resources/views/frame.blade.php @@ -30,12 +30,6 @@ @endif - @if(session('message')) -
- @endif -