0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Merge pull request #2483 from cobbspur/notification

clears notifications on clicking featured icon
This commit is contained in:
Hannah Wolfe 2014-03-23 17:53:44 +00:00
commit f26bb81c66

View file

@ -239,6 +239,7 @@
}, {
success : function () {
featuredEl.removeClass("featured unfeatured").addClass(featured ? "featured" : "unfeatured");
Ghost.notifications.clearEverything();
Ghost.notifications.addItem({
type: 'success',
message: "Post successfully marked as " + (featured ? "featured" : "not featured") + ".",