Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
Change spread operator to Array.from for Edge browser- closes RocketC…
Browse files Browse the repository at this point in the history
  • Loading branch information
ohmonster committed Dec 3, 2018
1 parent ca90c9c commit d5e60f4
Show file tree
Hide file tree
Showing 2 changed files with 242 additions and 241 deletions.
2 changes: 1 addition & 1 deletion packages/rocketchat-lib/client/lib/roomExit.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ this.roomExit = function() {
if (mainNode == null) {
return;
}
return [...mainNode.children].forEach((child) => {
return Array.forEach(mainNode.children).forEach((child) => {
if (child == null) {
return;
}
Expand Down
Loading

0 comments on commit d5e60f4

Please sign in to comment.