Skip to content

Commit 34f5689

Browse files
committed
Remove functions from object for serialization (electron V9 issue)
1 parent 946c44b commit 34f5689

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/scrapeHtml.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ function objectifyHtml(html) {
103103

104104
isNextCategory = !containsText // If there is no text then the next tag is a category title
105105
});
106+
objectified.forEach(obj => obj.addItem = null);
106107
return objectified;
107108
}
108109

0 commit comments

Comments
 (0)