Fix home screen sentinel being added repeatedly

This commit is contained in:
HighImKevin committed 2026-10-22 17:55:27 -04:00
1 parent f8f3e88698
commit 780e323d76
1 file changed
+5
+5
View File
@@ -770,6 +770,11 @@
// Wait for homeSectionsContainer to be added to the class
await waitForHomeSectionsContainer();
const existingSentinel = container.querySelector('#kefin-home-screen-sentinel');
if (existingSentinel) {
return;
}
const sentinel = document.createElement('div');
sentinel.id = 'kefin-home-screen-sentinel';