site: typo: returrn -> return
This commit is contained in:
parent
9935590a19
commit
f4f059578d
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ document.addEventListener('alpine:init', () => {
|
||||||
moveActiveItem(evt, amount, defaultValue) {
|
moveActiveItem(evt, amount, defaultValue) {
|
||||||
const len = this.items.length;
|
const len = this.items.length;
|
||||||
if (len === 0)
|
if (len === 0)
|
||||||
returrn;
|
return;
|
||||||
|
|
||||||
let item = this.activeItem === null ?
|
let item = this.activeItem === null ?
|
||||||
defaultValue : (this.activeItem + amount) % len;
|
defaultValue : (this.activeItem + amount) % len;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue