editor: cleanup - removing unused code in edumed exercises implementation
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / genericElement.js
index 8ed08bf..fd0dfc4 100644 (file)
@@ -37,7 +37,7 @@ $.extend(generic, {
     },
     
     refresh: function() {
-        if(this.wlxmlNode.getTagName() === 'span') {
+        if(this.wlxmlNode.getTagName() === 'span' || this.wlxmlNode.getTagName() === 'aside') {
             if(this.containsBlock()) {
                 this.displayAsBlock();
             } else {