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.disable = function () {
|
||||||
light.disabled = true;
|
light.disabled = true;
|
||||||
|
$('#tb_toolbar_item_light').hide();
|
||||||
|
$('#seq_labels .spacer').eq(1).hide();
|
||||||
}
|
}
|
||||||
light.enable = function () {
|
light.enable = function () {
|
||||||
light.disabled = false;
|
light.disabled = false;
|
||||||
|
$('#tb_toolbar_item_light').show();
|
||||||
|
$('#seq_labels .spacer').eq(1).show();
|
||||||
};
|
};
|
||||||
light.colorPickers = function () {
|
light.colorPickers = function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
Loading…
Reference in New Issue