Skip to content

Commit da07541

Browse files
Merge pull request #157 from stavroskasidis/release/2.1.0
Release/2.1.0
2 parents e0f8f75 + 1769879 commit da07541

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

BlazorContextMenu/BlazorContextMenu.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<Copyright />
1717
<PackageTags>blazor blazor-component blazor-context-menu context-menu contextmenu menu blazor-menu blazorcontextmenu razor razor-components razorcomponents</PackageTags>
1818
<VersionSuffix>$(VersionSuffix)</VersionSuffix>
19-
<Version>2.0.0</Version>
19+
<Version>2.1.0</Version>
2020
<Version Condition=" '$(VersionSuffix)' != '' ">$(Version)-$(VersionSuffix)</Version>
2121
<Product>Blazor.ContextMenu</Product>
2222
</PropertyGroup>

BlazorContextMenu/wwwroot/blazorContextMenu.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,17 +275,17 @@ var blazorContextMenu = function (blazorContextMenu) {
275275
blazorContextMenu.Hide(subMenu.id);
276276
}
277277

278-
i = currentMenuList.childNodes.length;
278+
i = currentMenuList.children.length;
279279
while (i--) {
280280
var child = currentMenuList.children[i];
281281
if (child == currentItemElement) continue;
282282
child.removeEventListener("mouseover", closeSubMenus);
283283
}
284284
};
285285

286-
var i = currentMenuList.childNodes.length;
286+
var i = currentMenuList.children.length;
287287
while (i--) {
288-
var child = currentMenuList.childNodes[i];
288+
var child = currentMenuList.children[i];
289289
if (child == currentItemElement) continue;
290290

291291
child.addEventListener("mouseover", closeSubMenus);

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,12 @@ public class Startup
244244
</details>
245245
246246
## Release Notes
247-
<details open="open"><summary>2.0</summary>
247+
<details open="open"><summary>2.1</summary>
248+
249+
>- Fix for [#155](https://github.com/stavroskasidis/BlazorContextMenu/issues/155). Contributed by [adrien426](https://github.com/adrien426).
250+
</details>
251+
252+
<details><summary>2.0</summary>
248253

249254
>- Upgrade to dotnet 8.0
250255
</details>

0 commit comments

Comments
 (0)