mirror of
https://github.com/flarum/core.git
synced 2025-07-17 14:51:19 +02:00
configure spinner only once
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user