Skip to content

Commit

Permalink
Merge pull request #157 from stavroskasidis/release/2.1.0
Browse files Browse the repository at this point in the history
Release/2.1.0
  • Loading branch information
stavroskasidis authored May 28, 2024
2 parents e0f8f75 + 1769879 commit da07541
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion BlazorContextMenu/BlazorContextMenu.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Copyright />
<PackageTags>blazor blazor-component blazor-context-menu context-menu contextmenu menu blazor-menu blazorcontextmenu razor razor-components razorcomponents</PackageTags>
<VersionSuffix>$(VersionSuffix)</VersionSuffix>
<Version>2.0.0</Version>
<Version>2.1.0</Version>
<Version Condition=" '$(VersionSuffix)' != '' ">$(Version)-$(VersionSuffix)</Version>
<Product>Blazor.ContextMenu</Product>
</PropertyGroup>
Expand Down
6 changes: 3 additions & 3 deletions BlazorContextMenu/wwwroot/blazorContextMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,17 +275,17 @@ var blazorContextMenu = function (blazorContextMenu) {
blazorContextMenu.Hide(subMenu.id);
}

i = currentMenuList.childNodes.length;
i = currentMenuList.children.length;
while (i--) {
var child = currentMenuList.children[i];
if (child == currentItemElement) continue;
child.removeEventListener("mouseover", closeSubMenus);
}
};

var i = currentMenuList.childNodes.length;
var i = currentMenuList.children.length;
while (i--) {
var child = currentMenuList.childNodes[i];
var child = currentMenuList.children[i];
if (child == currentItemElement) continue;

child.addEventListener("mouseover", closeSubMenus);
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,12 @@ public class Startup
</details>
## Release Notes
<details open="open"><summary>2.0</summary>
<details open="open"><summary>2.1</summary>

>- Fix for [#155](https://github.com/stavroskasidis/BlazorContextMenu/issues/155). Contributed by [adrien426](https://github.com/adrien426).
</details>
<details><summary>2.0</summary>

>- Upgrade to dotnet 8.0
</details>
Expand Down

0 comments on commit da07541

Please sign in to comment.