* wrap/python/ajax/ltl2tgba.html: Remember killed blocks.
This commit is contained in:
parent
8d2d9be39c
commit
ebf48d4fa4
1 changed files with 5 additions and 5 deletions
|
|
@ -99,18 +99,18 @@
|
||||||
break;
|
break;
|
||||||
case 'm':
|
case 'm':
|
||||||
$('#autsimp-tabs,#run-tabs').hide(duration);
|
$('#autsimp-tabs,#run-tabs').hide(duration);
|
||||||
$('#translator-tabs,#tester-tabs').show(duration);
|
$('#translator-tabs,#tester-tabs').not('.killed').show(duration);
|
||||||
break;
|
break;
|
||||||
case 'a':
|
case 'a':
|
||||||
$('#translator-tabs,#autsimp-tabs').show(duration);
|
$('#translator-tabs,#autsimp-tabs').not('.killed').show(duration);
|
||||||
$('#run-tabs,#tester-tabs').hide(duration);
|
$('#run-tabs,#tester-tabs').hide(duration);
|
||||||
break;
|
break;
|
||||||
case 't':
|
case 't':
|
||||||
$('#translator-tabs,#autsimp-tabs,#tester-tabs').show(duration);
|
$('#translator-tabs,#autsimp-tabs,#tester-tabs').not('.killed').show(duration);
|
||||||
$('#run-tabs').hide(duration);
|
$('#run-tabs').hide(duration);
|
||||||
break;
|
break;
|
||||||
case 'r':
|
case 'r':
|
||||||
$('#translator-tabs,#autsimp-tabs,#run-tabs').show(duration);
|
$('#translator-tabs,#autsimp-tabs,#run-tabs').not('.killed').show(duration);
|
||||||
$('#tester-tabs').hide(duration);
|
$('#tester-tabs').hide(duration);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
@ -272,7 +272,7 @@
|
||||||
$('.collapsible .head').click(function(e) {
|
$('.collapsible .head').click(function(e) {
|
||||||
if (e.ctrlKey) {
|
if (e.ctrlKey) {
|
||||||
if ($(this).attr('id') != 'ltl-head')
|
if ($(this).attr('id') != 'ltl-head')
|
||||||
$(this).parent().hide('fast');
|
$(this).parent().hide('fast').addClass("killed");
|
||||||
} else {
|
} else {
|
||||||
foldToggle($(this));
|
foldToggle($(this));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue