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:
sahil839
2020-06-29 00:22:11 +05:30
committed by Tim Abbott
parent 65168c36dc
commit 051842e646
2 changed files with 2 additions and 2 deletions

View File

@@ -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")