Skip to content

Commit

Permalink
suggestions for insertion show again #91
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Nov 26, 2016
1 parent b565936 commit c88a69f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flat/style/flat.viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ function renderdeletions() { //and suggested insertions
if ((classrank) && (classrank[annotation.class])) {
c = ' class' + classrank[annotation.class];
}
var suggestiontype = "";
annotation.suggestions.forEach(function(suggestion){
if (suggestions.structure) {
if (suggestion.structure) {
suggestion.structure.forEach(function(suggestedannotation_id){
if (!suggestiontype) {
var suggestedannotation = structure[suggestedannotation_id];
Expand Down

0 comments on commit c88a69f

Please sign in to comment.