Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
kictpov opened this Issue · 9 comments

3 participants

@kictpov

TypeError: Cannot read property 'options' of undefined

@kictpov

I fogot to add the layouts js

@kictpov kictpov closed this
@kictpov kictpov reopened this
@kictpov

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

@kictpov

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

@kictpov

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

@dimko

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

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

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

What layout you want to use?

@kictpov

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.