Skip to content

Commit

Permalink
fix: set the id of hilight element to intentions-inline
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jun 16, 2021
1 parent b1838c7 commit 346a5a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/elements/highlight.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
export const PADDING_CHARACTER = " "
export function create(length: number): HTMLElement {
let tries = 0
const element = document.createElement("intention-inline")
const element = document.createElement("div")
element.id = "intentions-inline"
element.style.opacity = "0"
element.textContent = PADDING_CHARACTER.repeat(length)

Expand Down

0 comments on commit 346a5a7

Please sign in to comment.