Skip to content

Commit 2bf879c

Browse files
committed
fixed bug to not filter by id and bind multiple times
1 parent d7e24fb commit 2bf879c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/breinify-activities.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@
472472

473473
// check if this observer is already attached (based on the id)
474474
const id = Breinify.UTL.isNonEmptyString(normalizedSettings.id);
475-
if (id !== null && currentData.some(d => $.isPlainObject(d.settings.id) && d.settings.id === id)) {
475+
if (id !== null && currentData.some(d => $.isPlainObject(d.settings) && d.settings.id === id)) {
476476
return;
477477
}
478478

0 commit comments

Comments
 (0)