Fix url comparison

This commit is contained in:
Idrees Hassan
2025-08-16 18:21:42 -04:00
parent 555d85a9a7
commit 9fca974233
4 changed files with 5 additions and 5 deletions

View File

@@ -911,7 +911,7 @@ Promise.all([loadSpriteSheetPixels(SPRITE_SHEET), loadSpriteSheetPixels(DECORATI
// Render all sticky notes
for (let stickyNote of stickyNotes) {
if (stickyNote.site === window.location.href.split("?")[0]) {
if (stickyNote.site.split("?")[0] === window.location.href.split("?")[0]) {
renderStickyNote(stickyNote);
}
}