mirror of
https://github.com/NohamR/Pocket-Bird.git
synced 2026-05-25 12:17:22 +00:00
Fix url comparison
This commit is contained in:
2
birb.js
2
birb.js
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user