Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: replace some DOM Element functions not supported in Salesforce #796

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

ghiscoding
Copy link
Collaborator

@ghiscoding ghiscoding commented Jun 28, 2023

  • some methods aren't supported in Salesforce for unknown reasons and it throws some errors like "append method does not exist", however they can be easily replaced. .append() can be replaced by .appendChild() and .replaceChildren() can be replaced with our own custom .emptyElement() that was already used in other areas
  • similar to commit

- some methods aren't supported in Salesforce for unknown reasons and it throws some errors like "append method does not exist", however they can be easily replaced. `.append()` can be replaced by `.appendChild()` and `.replaceChildren()` can be replaced with our own custom `.emptyElement()` that was already used
@ghiscoding ghiscoding requested a review from 6pac June 28, 2023 00:48
@6pac 6pac merged commit e427bd2 into master Jun 28, 2023
2 checks passed
@6pac 6pac deleted the bugfix/salesforce-unsupported-node-methods branch June 28, 2023 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants