change pnotify with noty
This commit is contained in:
@@ -24,7 +24,11 @@
|
||||
$(document).on('click', '.js-link', function(ev) {
|
||||
var el = $(ev.currentTarget);
|
||||
var linkId = el.attr('data-id');
|
||||
PNotify.success('The text you clicked had id ' + linkId + '. Maybe next time I will do something with this id.');
|
||||
new Noty({
|
||||
type: 'success',
|
||||
text: 'The text you clicked had id ' + linkId + '. Maybe next time I will do something with this id.',
|
||||
timeout: 5000
|
||||
}).show();
|
||||
});
|
||||
|
||||
// app startup
|
||||
|
Reference in New Issue
Block a user