Hide labels if light is disabled. Hide navigation element if light is disabled.
This commit is contained in:
parent
4202d01630
commit
4eee61ab1b
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue