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:
commit
f26bb81c66
1 changed files with 1 additions and 0 deletions
|
@ -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") + ".",
|
||||
|
|
Loading…
Add table
Reference in a new issue