mirror of https://github.com/ColorlibHQ/gentelella
Sample PNotify message is not a part of release
parent
4471fa1b0d
commit
bc1d9a7240
|
@ -1841,29 +1841,6 @@ if (typeof NProgress != 'undefined') {
|
||||||
|
|
||||||
if( typeof (PNotify) === 'undefined'){ return; }
|
if( typeof (PNotify) === 'undefined'){ return; }
|
||||||
console.log('init_PNotify');
|
console.log('init_PNotify');
|
||||||
|
|
||||||
new PNotify({
|
|
||||||
title: "PNotify",
|
|
||||||
type: "info",
|
|
||||||
text: "Welcome. Try hovering over me. You can click things behind me, because I'm non-blocking.",
|
|
||||||
nonblock: {
|
|
||||||
nonblock: true
|
|
||||||
},
|
|
||||||
addclass: 'dark',
|
|
||||||
styling: 'bootstrap3',
|
|
||||||
hide: false,
|
|
||||||
before_close: function(PNotify) {
|
|
||||||
PNotify.update({
|
|
||||||
title: PNotify.options.title + " - Enjoy your Stay",
|
|
||||||
before_close: null
|
|
||||||
});
|
|
||||||
|
|
||||||
PNotify.queueRemove();
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue