Skip to content

Commit

Permalink
Show/hide annotations in texts
Browse files Browse the repository at this point in the history
  • Loading branch information
roewenstrunk committed Jan 24, 2025
1 parent 5fceaa9 commit 5a39391
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/view/window/text/TextView.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Ext.define('EdiromOnline.view.window.text.TextView', {
var me = this;

if(me.annotationsLoaded) {
var annos = Ext.query('#' + me.id + '_textCont span.annotation');
var annos = Ext.query('#' + me.id + '_textCont div.annotation');
Ext.Array.each(annos, function(anno) {
Ext.get(anno).show();
});
Expand Down Expand Up @@ -220,7 +220,7 @@ Ext.define('EdiromOnline.view.window.text.TextView', {

hideAnnotations: function() {
var me = this;
var annos = Ext.query('#' + me.id + '_textCont span.annotation');
var annos = Ext.query('#' + me.id + '_textCont div.annotation');
Ext.Array.each(annos, function(anno) {
Ext.get(anno).hide();
});
Expand Down

0 comments on commit 5a39391

Please sign in to comment.