diff --git a/lib/ice-coder.js b/lib/ice-coder.js index 2622053..fc04f9e 100644 --- a/lib/ice-coder.js +++ b/lib/ice-coder.js @@ -35,7 +35,7 @@ var ICEcoder = { // Set our aliases initAliases: function() { - var aliasArray = ["header","files","account","fmLock","filesFrame","editor","tabsBar","findBar","content","footer","nestValid","nestDisplay","charDisplay"]; + var aliasArray = ["header","files","account","fmLock","filesFrame","editor","tabsBar","findBar","content","footer","nestValid","nestDisplayText","nestDisplay","charDisplay"]; // Create our ID aliases for (var i=0;i-1||nestCheck.indexOf("-1)) { + ICEcoder.nestDisplayText.innerHTML = ICEcoder.htmlTagArray.length > 0 ? "Cursor Position" : ""; // Then for all the array items, output as the nest display for (var i=0;i' : '
'; } - if ("undefined" != typeof state.curState) { + if ("undefined" != typeof state.curState && ICEcoder.htmlTagArray.length > 0) { ICEcoder.nestDisplay.innerHTML += ''+(state.curState.tagName ? state.curState.tagName : 'content')+''; } }