Skip to content
Snippets Groups Projects
Commit a2745349 authored by Daniel Roewenstrunk's avatar Daniel Roewenstrunk Committed by Daniel Jettka
Browse files

Show/hide annotations in texts

parent 2f0c191a
No related branches found
No related tags found
No related merge requests found
......@@ -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();
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment