mirror of
https://github.com/flarum/framework.git
synced 2024-12-03 07:33:36 +08:00
configure spinner only once
This commit is contained in:
parent
10d39cb06d
commit
30eded0fb6
|
@ -19,7 +19,9 @@ export default class LoadingIndicator extends Component {
|
|||
return <div {...attrs}>{m.trust(' ')}</div>;
|
||||
}
|
||||
|
||||
config() {
|
||||
config(isInitialized) {
|
||||
if (isInitialized) return;
|
||||
|
||||
const options = { zIndex: 'auto', color: this.$().css('color') };
|
||||
|
||||
switch (this.props.size) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user