marcelodolza / iziModal

Elegant, responsive, flexible and lightweight modal plugin with jQuery.
http://marcelodolza.github.io/iziModal/
Apache License 2.0
2.16k stars 286 forks source link

Multiple modal width problem #216

Open LuizNicolat opened 5 years ago

LuizNicolat commented 5 years ago

When I create multiple modals and I want to set different width for each of them, overriding the default width(600px), it's not working.

I tried to instantiate the iziModal on the document.ready, on the button click, but it keep setting just the first width that I pass to the instance.

I've tried to destroy the modal by using the closing and closed methods, but still getting the same results.