Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Commit

Permalink
getConfig fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maykar authored Jan 8, 2021
1 parent df5385a commit 02e2ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swipe-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function getConfig(lovelace) {
view = appLayout.querySelector('[id="view"]');
swipeNavigation();
} catch {
if (llAttempts < 40) setTimeout(() => getConfig(), 50);
if (llAttempts < 40) setTimeout(() => getConfig(lovelace), 50);
}
}

Expand Down

0 comments on commit 02e2ec1

Please sign in to comment.