mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-20 17:58:24 +03:00
fix window modal
This commit is contained in:
parent
016a490606
commit
66848b9577
|
@ -6430,7 +6430,6 @@ StickyWin.Modal = new Class({
|
|||
maskOptions: {
|
||||
style: {
|
||||
'background-color':'#333',
|
||||
'position':'fixed !important',
|
||||
opacity:0.8
|
||||
}
|
||||
},
|
||||
|
@ -6440,6 +6439,9 @@ StickyWin.Modal = new Class({
|
|||
|
||||
initialize: function(options) {
|
||||
this.options.maskTarget = this.options.maskTarget || document.body;
|
||||
if (!Browser.Engine.trident) {
|
||||
this.options.maskOptions.style.position='fixed !important';
|
||||
}
|
||||
this.setOptions(options);
|
||||
this.mask = new Mask(this.options.maskTarget, this.options.maskOptions).addEvent('click', function() {
|
||||
if (this.options.hideOnClick) this.hide();
|
||||
|
|
Loading…
Reference in a new issue