jboesch/Gritter — pull request #14 by aossowski (2012-02-23 15:43:40+00:00)
Title: Before close callback

I noticed that every time you hover over the notification a new click event is registered.
For example when you hover over the notification 5 times and then click X to close, the removeSpecific (and thus_fade and before_close callback) are executed 5 times.
To fix this I simply moved the click binding from _hoverState to the add function.