mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 08:15:00 +00:00
Add class to admin wrench button
This commit is contained in:
parent
15fa514791
commit
307311fdb1
@ -32,7 +32,7 @@ createWidget('topic-admin-menu-button', {
|
|||||||
// We don't show the button when expanded on the right side
|
// We don't show the button when expanded on the right side
|
||||||
if (!(attrs.rightSide && state.expanded)) {
|
if (!(attrs.rightSide && state.expanded)) {
|
||||||
result.push(this.attach('button', {
|
result.push(this.attach('button', {
|
||||||
className: 'btn ' + (attrs.fixed ? " show-topic-admin" : ""),
|
className: 'btn toggle-admin-menu' + (attrs.fixed ? " show-topic-admin" : ""),
|
||||||
title: 'topic_admin_menu',
|
title: 'topic_admin_menu',
|
||||||
icon: 'wrench',
|
icon: 'wrench',
|
||||||
action: 'showAdminMenu',
|
action: 'showAdminMenu',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user