Skip to content

Commit

Permalink
Added className to (previously anonymous) r6o wrapper DIV
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimon committed Sep 14, 2021
1 parent 6bb8e19 commit c62c0e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export class Recogito {
contentEl = deflateHTML(contentEl);

const wrapperEl = document.createElement('DIV');
wrapperEl.className = 'r6o-content-wrapper';
wrapperEl.style.position = 'relative';
contentEl.parentNode.insertBefore(wrapperEl, contentEl);
wrapperEl.appendChild(contentEl);
Expand Down

0 comments on commit c62c0e5

Please sign in to comment.