Skip to content

Commit

Permalink
remove some lingering commented-out lines
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatkins committed Oct 3, 2023
1 parent 3081638 commit 743a051
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bikeshed/dfnpanels/dfnpanels.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,6 @@
console.log(`Can't find dfn#${dfnID}.`, panelData);
} else {
const panel = genDfnPanel({ ...panelData, dfn });
// dfn.setAttribute('popovertarget', panel.id);
// panel.setAttribute('popover', 'auto');
append(document.body, panel);
insertDfnPopupAction(dfn, panel)
}
Expand Down Expand Up @@ -246,7 +244,6 @@
dfnPanel.style.left = "5px";
dfnPanel.style.top = "0px";
const panelRect = dfnPanel.getBoundingClientRect();
// const panelWidth = panelRect.right - panelRect.left;
if (panelRect.right > document.body.scrollWidth) {
// Panel's overflowing the screen.
// Just drop it below the dfn and flip it rightward instead.
Expand Down

0 comments on commit 743a051

Please sign in to comment.