Skip to content

Commit

Permalink
don't need to trap bgcolor delete any more
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgoringe committed Mar 12, 2024
1 parent 50ccae9 commit cf6d30e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions js/use_everywhere.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ const nodeHandler = {
}
return result;
},
deleteProperty: function(obj, property) {
if (property==='bgcolor') obj.widgets?.forEach((widget) => {widget.colorFollower?.(null, obj.mode)});
return Reflect.deleteProperty(...arguments);
}
}

app.registerExtension({
Expand Down

0 comments on commit cf6d30e

Please sign in to comment.