Replaced Moment with Carbon #84

Merged
Ghost merged 148 commits from develop into beta 2022-09-22 05:53:36 +02:00
2 changed files with 2 additions and 8 deletions
Showing only changes of commit fe36bae01e - Show all commits

View file

@ -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';
}
})

View file

@ -30,12 +30,6 @@
</div>
@endif
</header>
@if(session('message'))
<div class="system-notice-message" role="status">
{!! session('message') !!}
</div>
@endif
<main>
@spaceless
@section('main-content')