Hide labels if light is disabled. Hide navigation element if light is disabled.

This commit is contained in:
mmcwilliams 2019-03-10 01:25:59 -05:00
parent 4202d01630
commit 4eee61ab1b
1 changed files with 4 additions and 0 deletions

View File

@ -90,9 +90,13 @@ light.init = function () {
};
light.disable = function () {
light.disabled = true;
$('#tb_toolbar_item_light').hide();
$('#seq_labels .spacer').eq(1).hide();
}
light.enable = function () {
light.disabled = false;
$('#tb_toolbar_item_light').show();
$('#seq_labels .spacer').eq(1).show();
};
light.colorPickers = function () {
'use strict';