mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 18:21:03 -03:30
Fixing 'working' ovrerlay to fit document height.
This commit is contained in:
@@ -451,8 +451,8 @@ angular.module('Utilities',['RestServices', 'Utilities'])
|
|||||||
var x = (docw - spinnyw) / 2;
|
var x = (docw - spinnyw) / 2;
|
||||||
var y = (doch - spinnyh) / 2;
|
var y = (doch - spinnyh) / 2;
|
||||||
$('.overlay').css({
|
$('.overlay').css({
|
||||||
width: $('html').width(),
|
width: $(document).width(),
|
||||||
height: $('html').height()
|
height: $(document).height()
|
||||||
}).fadeIn();
|
}).fadeIn();
|
||||||
$('.spinny').css({ top: y, left: x }).fadeIn(400);
|
$('.spinny').css({ top: y, left: x }).fadeIn(400);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user