Commit fb6f05de658d9ed8ad14fba7a8f2861405b30e34
1 parent
c13a529a
poprawka z usuwaniem ram semantycznych
Showing
1 changed file
with
3 additions
and
1 deletions
semantics/static/js/semantics_frames.js
... | ... | @@ -57,6 +57,7 @@ function getDisplay(visibility, checkboxes) { |
57 | 57 | display = ''; |
58 | 58 | var i, j; |
59 | 59 | for ( i = 0; i < lexical_units_num.length; i++) { |
60 | + if (lexical_units_frames[i].length > 0){ | |
60 | 61 | var visible = frame_content[lexical_units_frames[i][0]].visible; |
61 | 62 | if (visible == visibility) { |
62 | 63 | display += '<div id="lus_' + i + '_">'; |
... | ... | @@ -104,7 +105,8 @@ function getDisplay(visibility, checkboxes) { |
104 | 105 | display += '</div>'; |
105 | 106 | |
106 | 107 | display += '</div>'; |
107 | - } | |
108 | + } | |
109 | + } | |
108 | 110 | } |
109 | 111 | return display; |
110 | 112 | } |
... | ... |