Dialog is displayed on load
rboarman opened this issue · 3 comments
rboarman commented
My dialog is being displayed even though I have style="display: none" for the style.
Here's an example:
http://jsfiddle.net/rboarman/WLpky/
What am I doing wrong?
bmichalski commented
Hi,
I've had the same problem with an onpage div.
Adding style="display: none;" on line 26 in jquery.dialog2.js seems to fix it.
var __DIALOG_HTML = "<div class='modal' style=\"display: none;\">" +
rboarman commented
Worked for me too. Thanks! How do we get it fixed in the repository?
nikku commented
Write a pull request? :-P