diff --git a/app/view/window/text/TextView.js b/app/view/window/text/TextView.js index 08c6a5364768b02e35e386b7ae48f8116a2350e5..e6e2b00cef752928a7880635aba211c3e03f6edf 100644 --- a/app/view/window/text/TextView.js +++ b/app/view/window/text/TextView.js @@ -130,8 +130,7 @@ Ext.define('EdiromOnline.view.window.text.TextView', { me.annotationsLoaded = true; - var tpl = Ext.DomHelper.createTemplate('<span id="{0}" class="annotation {1} {2} {3}" data-edirom-annot-id="{3}"></span>'); - + var tpl = Ext.DomHelper.createTemplate('<div class="annotation"><div id="{0}" class="annotIcon {1} {2} {3}" data-edirom-annot-id="{3}"></div></div>'); tpl.compile(); annotations.each(function(annotation) { @@ -243,6 +242,7 @@ Ext.define('EdiromOnline.view.window.text.TextView', { me.annotMenu = Ext.create('Ext.button.Button', { text: getLangString('view.window.text.TextView_annotMenu'), indent: false, + cls: 'menuButton', menu : { items: [ me.toggleAnnotationVisibility