Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'options' of undefined #124

Closed
kictpov opened this Issue Feb 21, 2013 · 9 comments

Comments

3 participants

kictpov commented Feb 21, 2013

TypeError: Cannot read property 'options' of undefined

kictpov commented Feb 21, 2013

I fogot to add the layouts js

@kictpov kictpov closed this Feb 21, 2013

@kictpov kictpov reopened this Feb 21, 2013

kictpov commented Feb 21, 2013

Ooop!....This issue is still there! Help~

kictpov commented Feb 21, 2013

"$(window.top).noty()" is not work, so as $(window.top.document) and $(window.top.document.body) o(╯□╰)o

kictpov commented Feb 21, 2013

Any noty() with custom container like $(".example") leads to this issue, what's wrong with my code....

dimko commented Feb 28, 2013

Try to pass a layout parameter or change noty's defaults.

noty({text: "Notification", layout: "topCenter"})

kictpov commented Mar 8, 2013

dimko, thank you for your reply, I tried to pass a layout parameter but it didn't work, and there is no place to set container's default value in the newest version of noty.
QQ 20130308094114

dimko commented Mar 8, 2013

What layout you want to use?

kictpov commented Mar 8, 2013

topCenter or top, it is the container doesn't work. I want to use $("window.top.document.body") as the container when I use top as the layout.

@needim needim closed this Aug 28, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment