matowens / ng-notify

A simple, lightweight module for displaying notifications in your AngularJS app.

Home Page:http://matowens.github.io/ng-notify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Occures TypeError when trying to dismiss a notiication.

srimaln91 opened this issue · comments

JS Console log
angular.js:13283 TypeError: Cannot read property 'fadeOut' of null
at Object.dismiss (ng-notify.js:137)
at dismiss (ng-notify.js:552)
at Object.dismiss (ng-notify.js:620)
at jkfe.js:255
at m.$digest (angular.js:16728)
at m.$apply (angular.js:16992)
at HTMLHtmlElement. (angular.js:13032)
at HTMLHtmlElement.dispatch (jquery.min.js:3)
at HTMLHtmlElement.r.handle (jquery.min.js:3)

Also encountering this error. My alert pops up and dismisses as expected, however any subsequent page navigation will produce this error. My best guess is that ng-notify incorrectly thinks it is still open, and fails when it attempts to close the alert.