Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
su-u committed Nov 30, 2023
1 parent 3e09167 commit 180e7a0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ const removeUnnecessaryDom = (dom: any) => {
'data-privacy-config',
'data-help-feedback-form-id',
'data-testid',
''
].forEach((selector: string) => remove(selector));

dom.window.document.querySelectorAll('img[data-src]').forEach((element: HTMLElement) => element.removeAttribute('data-src'));
Expand Down

0 comments on commit 180e7a0

Please sign in to comment.