nikku/jquery-bootstrap-scripting

Dialog is displayed on load

rboarman opened this issue · 3 comments

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?

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;\">" + 

Worked for me too. Thanks! How do we get it fixed in the repository?

Write a pull request? :-P