Skip to content
Snippets Groups Projects
Commit de4242fe authored by Laurent Gil's avatar Laurent Gil
Browse files

Fixed the fix when the html page is included into the ensembl website

parent 7667e1d2
No related branches found
No related tags found
No related merge requests found
......@@ -135,13 +135,15 @@ my $html_header = qq{
div = document.getElementById('div_'+param);
alink = document.getElementById('a_'+param);
if (expand_flag.value=='0') {
div.style.display='inline';
alink.innerHTML='Hide';
}
else {
div.style.display='none';
alink.innerHTML='Show';
if (div && alink) {
if (expand_flag.value=='0') {
div.style.display='inline';
alink.innerHTML='Hide';
}
else {
div.style.display='none';
alink.innerHTML='Show';
}
}
}
if (expand_flag.value=='0') {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment