goinstant / notifications

This repo will no longer be updated. GoInstant will be discontinued as of August 31, 2014. Read our blog for more details.
http://goinstant.com
BSD 3-Clause "New" or "Revised" License
15 stars 6 forks source link

Init template with display none #10

Open petercyr opened 10 years ago

petercyr commented 10 years ago

On widget init, the template's style should be set to display none. Otherwise it is invisible but occupies space at the top of the page and makes it impossible to interact with page elements underneath it. Once an alert gets shown and goes away, the container gets set to display none and the page can be interacted with.