Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Liopun committed Oct 27, 2023
1 parent 13b09fe commit a4533af
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/contentScript/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,10 @@ const mount = (arg: IMountArg) => {
} else {
container.classList.add('sidebar-free');
let appendContainer = getHolderElement(trigger);
console.debug('&&&&&', appendContainer);

if (appendContainer) {
// const isDLActive = isDynamicLayout()
// const insPos: InsertPosition = isDLActive ? 'beforeend' : 'beforebegin'
// if (isDLActive) container.classList.add('')

if (isDynamicLayout()) {
// container.classList.add('flexlayout__tab')
// const lchild =
appendContainer.before(container);
// .appendChild(container)
} else {
appendContainer.insertAdjacentElement('beforebegin', container);
}
Expand Down

0 comments on commit a4533af

Please sign in to comment.