summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.html b/index.html
index f02d4f9..9c3c3aa 100644
--- a/index.html
+++ b/index.html
@@ -2156,9 +2156,13 @@
var style = stylesheet.styles[name];
if(style != null && style['image'] != null) {
var label = '<img src="' + style['image'] + '" height="80" width="80">';
+ style['label'] = label;
style['image'] = null;
node.setAttribute('label', label);
}
+ if(style!= null && style['label'] != null) {
+ node.setAttribute('label', style['label']);
+ }
node.setAttribute('parent', temp.getAttribute('id'));
var i, arr = [];