diff --git a/CHANGE.md b/CHANGE.md index 14fa139..754cc65 100755 --- a/CHANGE.md +++ b/CHANGE.md @@ -5,6 +5,7 @@ Change Log: `yii2-tree-manager` **Date:** _under development_ +- (enh #244): Correct hidden css to use `BS_HIDE` within `bsCssMap`. - (enh #240): Rename events triggered via jquery to start with `treeview:`. - (enh #239): Allow CSS class to hide elements to be configurable (for BS 3.x / 4.x). New property `hideCssClass`. - (enh #238): Add Chinese Translations. diff --git a/src/TreeView.php b/src/TreeView.php index 6ea37b0..f668f38 100644 --- a/src/TreeView.php +++ b/src/TreeView.php @@ -801,7 +801,7 @@ public function initOptions() $this->allowNewRoots = false; } if (!isset($this->hideCssClass)) { - $this->hideCssClass = $this->getCssClass(self::BS_HIDDEN_XS); + $this->hideCssClass = $this->getCssClass(self::BS_HIDE); } $this->initIcons(); $this->_nodes = $this->query->all();