This commit is contained in:
Henrique Dias
2015-09-20 13:04:33 +01:00
parent 49baf4fcf1
commit 963708855c
15 changed files with 112 additions and 107 deletions

View File

@@ -68,4 +68,15 @@ notification = function(options) {
options = $.extend({}, defaults, options);
noty(options);
if (!Cookies.get('stickynoties') && !options.timeout) {
Cookies.set('stickynoties', 'true', {
expires: 365
});
notification({
text: "Some notifications are sticky. If it doesn't go away, click to dismiss it.",
type: 'information'
});
}
}