mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:28:11 +08:00
Update post-menu.js.es6
The bookmark ID's were not very clear and not using the same names as the classes. This addresses that.
This commit is contained in:
parent
fe5374dd3b
commit
1738a85bdc
|
@ -194,7 +194,7 @@ registerButton('bookmark', attrs => {
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
id: attrs.bookmarked ? 'bookmark' : 'unbookmark',
|
id: attrs.bookmarked ? 'bookmarked' : 'unbookmarked',
|
||||||
action: 'toggleBookmark',
|
action: 'toggleBookmark',
|
||||||
title: attrs.bookmarked ? "bookmarks.created" : "bookmarks.not_bookmarked",
|
title: attrs.bookmarked ? "bookmarks.created" : "bookmarks.not_bookmarked",
|
||||||
className,
|
className,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user