We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e51068 commit e430852Copy full SHA for e430852
javascript/LeftAndMain.Tree.js
@@ -421,7 +421,7 @@ SiteTreeNode.prototype = {
421
this.TreeNode.initialize(options);
422
if(this.className && this.className.match(/class\-([^\s]*)/)) {
423
var klass = RegExp.$1;
424
- if(siteTreeHints && siteTreeHints[klass]) {
+ if(typeof siteTreeHints != 'undefined' && siteTreeHints[klass]) {
425
this.hints = siteTreeHints[klass];
426
this.dropperOptions = {
427
accept : (this.hints.allowedChildren && (this.className.indexOf('nochildren') == -1))
0 commit comments