Permalink
Browse files

Show tagName or content after nest display

  • Loading branch information...
mattpass committed Mar 16, 2013
1 parent bf22cd1 commit 0f460483f31e78ac7b469a3f98a09b3cfe4a9055
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/ice-coder.js
View
@@ -1013,6 +1013,9 @@ var ICEcoder = {
? '<div '+events+' style="display: inline-block; width: 8px; margin-top: -5px; height: 30px; background-image: url(images/nest-tag-bg.gif); background-position: -7px 0; cursor: pointer"></div>'
: '<div '+events+' style="display: inline-block; width: 7px; margin-top: -5px; height: 30px; background-image: url(images/nest-tag-bg.gif); background-position: -15px 0; cursor: pointer"></div>';
}
+ if ("undefined" != typeof state.curState) {
+ ICEcoder.nestDisplay.innerHTML += '<a style="display: inline-block; cursor: default; padding: 7px 2px 7px 7px; margin-top: -5px; height: 30px; color: #666">'+(state.curState.tagName ? state.curState.tagName : 'content')+'</a>';
+ }
}
}
}

0 comments on commit 0f46048

Please sign in to comment.