change pnotify with noty

This commit is contained in:
s2
2020-06-08 11:51:45 +02:00
parent 27635904a6
commit 51c66fc3cb
200 changed files with 6503 additions and 23902 deletions

View File

@@ -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