mirror of
https://github.com/dragonish/obsidian-heading-decorator.git
synced 2026-07-22 05:42:05 +00:00
typo(main): correct variable names
This commit is contained in:
parent
9b4e88448a
commit
eaa8b0dce6
1 changed files with 4 additions and 4 deletions
8
main.ts
8
main.ts
|
|
@ -165,10 +165,10 @@ export default class HeadingPlugin extends Plugin {
|
|||
//? on the reading tab.
|
||||
const elementLevel = queryHeadingLevelByElement(headingElement);
|
||||
if (elementLevel === level) {
|
||||
const decortorContent = counter.decorator(level);
|
||||
const decoratorContent = counter.decorator(level);
|
||||
decorateHTMLElement(
|
||||
headingElement,
|
||||
decortorContent,
|
||||
decoratorContent,
|
||||
opacity,
|
||||
position
|
||||
);
|
||||
|
|
@ -188,10 +188,10 @@ export default class HeadingPlugin extends Plugin {
|
|||
|
||||
headingElements.forEach((headingElement) => {
|
||||
const level = queryHeadingLevelByElement(headingElement);
|
||||
const decortorContent = counter.decorator(level);
|
||||
const decoratorContent = counter.decorator(level);
|
||||
decorateHTMLElement(
|
||||
headingElement,
|
||||
decortorContent,
|
||||
decoratorContent,
|
||||
opacity,
|
||||
position
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue