malsup / blockui

jQuery BlockUI Plugin
http://jquery.malsup.com/block/
1.69k stars 506 forks source link

this.style.zoom = 1; #77

Open xmen4u opened 11 years ago

xmen4u commented 11 years ago

It's not defined (tested both on chrome 30.0.1599.0 and FF 22.0), line 95 changed to: if (this.hasOwnProperty('style') && this.style.hasOwnProperty('zoom')){ this.style.zoom = 1; // force 'hasLayout' in ie }

but im not sure this will actually make it work as it should , but that error 100% exists there

malsup commented 11 years ago

I don't see this error.

http://jquery.malsup.com/block/#demos

xmen4u commented 11 years ago

I guess it depends on the element that calls the .block. I've used the demo example and was able to make it work without my fix by using an inner element of the div i was using ( i was trying to block a bootstrap modal dialog).

Either-way, with my fix, it won't raise the error and won't make a difference as its only a validation check