FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

remove is tidier · devhttps/frontend@ce7cac0 · GitHub

Commit ce7cac0

Browse files
committed
remove is tidier
1 parent 77c3a09 commit ce7cac0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎static/src/javascripts/projects/common/modules/navigation/user-account.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const showMyAccountIfNecessary = (): void => {
5252
return fastdom
5353
.write(() => {
5454
signIns.forEach(signIn => {
55-
signIn.parentNode.removeNode(signIn);
55+
signIn.remove();
5656
});
5757

5858
accountActionsLists.forEach(accountActions => {

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL