Fixed template so hidden content do not take extra space in the page layout. Fixes #615

- Legacy-Id: 2883
This commit is contained in:
Emilio A. Sánchez López 2011-03-12 16:31:18 +00:00
parent d08c515e78
commit 496dfa3b06

View file

@ -42,6 +42,7 @@ function confirmCancelation(){
idnitsDialog.render();
var showIdnits = function() {
$('#idnits_results').show();
$('#idnits_title').show();
$('#twopages_title').hide();
$('pre.idnits_message').show();
@ -90,7 +91,7 @@ Your draft has NOT been verified to meet IDNITS requirements.
{% endif %}
<a class="idnits_trigger" href="#">(View IDNITS Results)</a>
</p>
<div id="idnits_results" style="visibility:hidden;">
<div id="idnits_results" style="visibility:hidden; display: none;">
<div class="hd">
<span style="display: none;" id="idnits_title">Idnits results</span>
<span style="display: none;" id="twopages_title">First two pages</span>