settings: Remove obsolete lines of code.

There don't exist any element with this classes and it seems they
are accidentally added during addition of `bot_creation_policy`.
This commit is contained in:
Shubham Dhama
2018-03-30 16:07:53 +05:30
parent aca2364455
commit efeee28b12

View File

@@ -164,12 +164,10 @@ exports.update_bot_permissions_ui = function () {
!page_params.is_admin) {
$('#create_bot_form').hide();
$('.add-a-new-bot-tab').hide();
$('.account-api-key-section').hide();
focus_tab.active_bots_tab();
} else {
$('#create_bot_form').show();
$('.add-a-new-bot-tab').show();
$('.account-api-key-section').show();
}
};