removed role from frame and settings script
there was an unused layer that had an impropper role attribute and improper usage in the settings script, so both have been removed
This commit is contained in:
parent
f2a97af3f5
commit
fe36bae01e
2 changed files with 2 additions and 8 deletions
|
@ -200,11 +200,11 @@ export default class SettingsIndex {
|
||||||
.then(r => {
|
.then(r => {
|
||||||
if (type == 'avatar-upload') {
|
if (type == 'avatar-upload') {
|
||||||
notify.alert(r.message, true);
|
notify.alert(r.message, true);
|
||||||
document.querySelector('[role="avatar"]').style.background =
|
document.querySelector('.avatar').style.background =
|
||||||
'url(' + r.filePath + ') no-repeat center center / cover';
|
'url(' + r.filePath + ') no-repeat center center / cover';
|
||||||
} else {
|
} else {
|
||||||
notify.alert(r.message, true);
|
notify.alert(r.message, true);
|
||||||
document.querySelector('[role="background"]').style.background =
|
document.querySelector('.background').style.background =
|
||||||
'url(' + r.filePath + ') no-repeat center center / cover';
|
'url(' + r.filePath + ') no-repeat center center / cover';
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -30,12 +30,6 @@
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
</header>
|
</header>
|
||||||
@if(session('message'))
|
|
||||||
<div class="system-notice-message" role="status">
|
|
||||||
{!! session('message') !!}
|
|
||||||
</div>
|
|
||||||
@endif
|
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
@spaceless
|
@spaceless
|
||||||
@section('main-content')
|
@section('main-content')
|
||||||
|
|
Loading…
Reference in a new issue