Skip to content

Commit 589f6ef

Browse files
authored
Fix HtmlDropDown as item pb
1 parent 1fb59e4 commit 589f6ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Ajax/semantic/html/collections/menus/HtmlMenu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function setActiveItem($index) {
5353
}
5454

5555
private function getItemToInsert($item) {
56-
if ($item instanceof HtmlInput || $item instanceof HtmlImg || $item instanceof HtmlIcon || $item instanceof HtmlButtonGroups || $item instanceof HtmlButton || $item instanceof HtmlLabel || $item instanceof HtmlDropdown) {
56+
if ($item instanceof HtmlInput || $item instanceof HtmlImg || $item instanceof HtmlIcon || $item instanceof HtmlButtonGroups || $item instanceof HtmlButton || $item instanceof HtmlLabel) {
5757
$itemO=new HtmlMenuItem("item-" . $this->identifier . "-" . \sizeof($this->content) , $item);
5858
$itemO->addClass("no-active");
5959
$item=$itemO;

0 commit comments

Comments
 (0)