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