mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
admin: Remove ".not(can-edit)" selector filter from insert_tip_box.
This commit removes the ".not(can-edit)" selector filter from insert_tip_box. We do not require this selector filter because this class is only used for emoji-settings and we already do not prepend tip in emoji-settings page from this function and we handle it separately. As this class is only used for this purpose we can also remove this class from emoji_settings_admin.hbs.
This commit is contained in:
@@ -30,7 +30,7 @@ function insert_tip_box() {
|
||||
return;
|
||||
}
|
||||
const tip_box = render_settings_organization_settings_tip({is_admin: page_params.is_admin});
|
||||
$(".organization-box").find(".settings-section:not(.can-edit)")
|
||||
$(".organization-box").find(".settings-section")
|
||||
.not("#emoji-settings")
|
||||
.not("#user-groups-admin")
|
||||
.not("#organization-auth-settings")
|
||||
|
||||
Reference in New Issue
Block a user