Refactoring

This commit is contained in:
Julia Radzhabova 2019-10-31 12:57:37 +03:00
parent 7cffe71a8b
commit 2fb50a64ae

View file

@ -183,7 +183,7 @@ define([
function onLostEditRights() {
_readonlyRights = true;
$panelUsers.find('#tlb-change-rights').hide();
$panelUsers && $panelUsers.find('#tlb-change-rights').hide();
$btnUsers && !$btnUsers.menu && $panelUsers.hide();
}