MDL-36449 usability: Fixed spinner position in lightbox

This commit is contained in:
Frederic Massart 2012-11-14 14:24:51 +08:00
parent 10994f27a1
commit 85947dcc22

View File

@ -859,8 +859,7 @@ M.util.add_lightbox = function(Y, node) {
})
.setStyles({
'position' : 'relative',
'top' : '50%',
'left' : '50%'
'top' : '50%'
});
var lightbox = Y.Node.create('<div></div>')
@ -872,7 +871,7 @@ M.util.add_lightbox = function(Y, node) {
'top' : 0,
'left' : 0,
'backgroundColor' : 'white',
'text-align' : 'center'
'textAlign' : 'center'
})
.setAttribute('class', 'lightbox')
.hide();