mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-15 03:33:45 +00:00
Don't allow interaction while page loading
Change-Id: I614fe3c90c57511ba392493d683a5b6e8dc169d9
This commit is contained in:
parent
ddc1980f7b
commit
9975e83b9d
|
@ -4,6 +4,9 @@
|
|||
|
||||
$.extend( DiffPage.prototype, {
|
||||
refresh: function ( oldId, newId ) {
|
||||
$( 'body' )
|
||||
.find( 'table.diff[data-mw=\'interface\']' )
|
||||
.append( '<div id="revision-slider-darkness"></div>' );
|
||||
$.ajax( {
|
||||
url: mw.util.wikiScript( 'index' ),
|
||||
data: {
|
||||
|
|
|
@ -94,3 +94,18 @@
|
|||
border-style: solid;
|
||||
border-width: 0 10px 10px 10px;
|
||||
}
|
||||
|
||||
#revision-slider-darkness {
|
||||
background-color: white;
|
||||
filter:alpha(opacity=50); /* IE */
|
||||
opacity: 0.5; /* Safari, Opera */
|
||||
-moz-opacity:0.50; /* FireFox */
|
||||
z-index: 20;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-repeat:no-repeat;
|
||||
background-position:center;
|
||||
position:absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue