Skip to content

Commit

Permalink
Implemented a fix for showing non-default text classes after update #172
Browse files Browse the repository at this point in the history
 139
  • Loading branch information
proycon committed Apr 6, 2021
1 parent dadfe31 commit ddc6890
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flat/script/flat.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ function loadtext(annotationresponse) {
}
}
});
//there may be a performance inefficiency here because this will process all annotations again rather
//than only those in the response:
if (textclass != "current") rendertextclass();
/*if (function_exists(mode + '_onloadtext')) {
var f = eval(mode + '_onloadtext');
f(annotationlist);
Expand Down

0 comments on commit ddc6890

Please sign in to comment.