summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xindex.html5
1 files changed, 1 insertions, 4 deletions
diff --git a/index.html b/index.html
index 02b7e83..d4c25d2 100755
--- a/index.html
+++ b/index.html
@@ -753,10 +753,7 @@
if (mxUtils.isNode(cell.value)) {
var stylesheet = graph.getStylesheet();
var style = stylesheet.styles[cell.value.getAttribute('style')];
- var displayedLabel = null;
- if(style != null) {
- displayedLabel = style['displayedLabel'];
- }
+ var displayedLabel = style['displayedLabel'];
if (displayedLabel != null) {
var displayParameter = cell.blockInstance.instance.displayParameter;
for (i in displayParameter) {