Skip to content

Commit 5bf2474

Browse files
committed
removed trailing comas and stringified unique var
1 parent 7b3d0b5 commit 5bf2474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/themes/bootstrap4.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export class bootstrap4Theme extends AbstractTheme {
126126
}
127127
}
128128

129-
const unique = (Date.now() * Math.random())
129+
const unique = (Date.now() * Math.random()).toFixed(0)
130130
input.setAttribute('id', unique)
131131
label.setAttribute('for', unique)
132132

0 commit comments

Comments
 (0)