diff --git a/app/view/window/text/TextView.js b/app/view/window/text/TextView.js index e6e2b00cef752928a7880635aba211c3e03f6edf..9e2180b924319c6a2b0c11ce6dec996fd4d36564 100644 --- a/app/view/window/text/TextView.js +++ b/app/view/window/text/TextView.js @@ -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(); }); @@ -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(); });