Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 083ba71

Browse files
authored
fix(hasCode): use index variable (#6650)
* refactor: update index variable * chore: bump version 9.9.3-beta01
1 parent f13a950 commit 083ba71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/BootstrapBlazor/BootstrapBlazor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<Version>9.9.2</Version>
4+
<Version>9.9.3-beta01</Version>
55
</PropertyGroup>
66

77
<ItemGroup>

src/BootstrapBlazor/wwwroot/modules/utility.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ export function isMobile() {
670670
const hashCode = str => {
671671
let hash = 0;
672672
for (let i = 0; i < str.length; i++) {
673-
const char = str.charCodeAt(1);
673+
const char = str.charCodeAt(i);
674674
hash = (hash << 5) - hash + char;
675675
hash |= 0;
676676
}

0 commit comments

Comments
 (0)