mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-09-23 10:26:26 +00:00
Remove loading spinner
Since e8d37102
the loading spinner is not visible, because all actions
relating to it are in the same render step of the browser.
The loading occurs fast enough now, that we also don't want to show an
intermediate spinner.
Change-Id: Id2a3584deed2ecde807d8f354341dd6868b10009
This commit is contained in:
parent
f50c6d0bb7
commit
ce96b0c72e
Binary file not shown.
Before Width: | Height: | Size: 3.3 KiB |
|
@ -447,10 +447,8 @@ $.wikiEditor.modules.toolbar = {
|
|||
rel: id
|
||||
} );
|
||||
if ( deferLoad ) {
|
||||
$page.addClass( 'loading' ).append( $( '<div>' ).addClass( 'spinner' ) );
|
||||
$page.bind( 'loadPage', function () {
|
||||
$.wikiEditor.modules.toolbar.fn.reallyBuildPage( context, id, page, $page );
|
||||
$page.removeClass( 'loading' );
|
||||
} );
|
||||
} else {
|
||||
$.wikiEditor.modules.toolbar.fn.reallyBuildPage( context, id, page, $page );
|
||||
|
|
|
@ -32,27 +32,6 @@
|
|||
.section-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Gets overridden when the section div is in class loading - see below */
|
||||
div {
|
||||
.spinner {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.loading {
|
||||
.spinner {
|
||||
.background-image('images/toolbar/loading.gif');
|
||||
background-position: left center;
|
||||
background-repeat: no-repeat;
|
||||
color: #666;
|
||||
display: block;
|
||||
float: left;
|
||||
height: 32px;
|
||||
margin-left: 0.5em;
|
||||
padding-left: 32px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Top Level Containers */
|
||||
|
@ -91,10 +70,6 @@
|
|||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
a.loading {
|
||||
.background-image('images/toolbar/loading-small.gif');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue