Skip to content

Commit 5d0d6c9

Browse files
committed
changed naming of scheduled activities to follow other namings
1 parent fa9bd10 commit 5d0d6c9

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

dist/breinify-activities.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215
}
216216
},
217217
localStorage: {
218-
prefix: 'br-scheduled-activity-',
218+
prefix: 'breinify-sa-data-',
219219

220220
store: function (id, activityData) {
221221
window.localStorage.setItem(this.prefix + id, JSON.stringify(activityData))
@@ -226,7 +226,7 @@
226226

227227
for (var i = 0, len = window.localStorage.length; i < len; ++i) {
228228
let key = window.localStorage.key(i);
229-
if (!key.indexOf(this.prefix) === 0) {
229+
if (key.indexOf(this.prefix) !== 0) {
230230
continue;
231231
}
232232

0 commit comments

Comments
 (0)