sciactive / pnotify

Beautiful JavaScript notifications with Web Notifications support.
https://sciactive.com/pnotify/
Apache License 2.0
3.65k stars 513 forks source link

Pnotify confim dialog not showing buttons #197

Closed pavelnganpi closed 8 years ago

pavelnganpi commented 9 years ago

I am using angularjs and added this in my code, copied directly from Pnotify

$(function(){ (new PNotify({ title: 'Confirmation Needed', text: 'Are you sure?', icon: 'glyphicon glyphicon-question-sign', hide: false, confirm: { confirm: true }, buttons: { closer: false, sticker: false }, history: { history: false } })).get().on('pnotify.confirm', function() { alert('Ok, cool.'); }).on('pnotify.cancel', function() { alert('Oh ok. Chicken, I see.'); }); });

but the Ok and Cancel buttons dont show up. Any suggestions are welcomed, thanks

hperrin commented 9 years ago

Did you add the buttons module?

hperrin commented 8 years ago

Or the confirm module.