fabien-d / alertify.js

JavaScript Alert/Notification System
http://fabien-d.github.com/alertify.js/
4.26k stars 726 forks source link

Prevent Duplicates #259

Open tayler-king opened 8 years ago

tayler-king commented 8 years ago

What'd be the best recommended way to prevent duplicate alerts and logs?

I thought about looping through the displayed logs, and checking their innerText against the new log, wondering if that'll suffice?

Cheers.

kaansoral commented 8 years ago

build a function called my_alertify and check the logs yourself

I had a similar function, thanks to it, it was easy for me to replace alertify with something else

tayler-king commented 8 years ago

@kaansoral Yeah, will do that.

Will update this soon.