Skip to content

Commit

Permalink
fix classname setting
Browse files Browse the repository at this point in the history
  • Loading branch information
dvargas92495 committed Aug 8, 2022
1 parent 7687ee2 commit 465f49b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
- name: build
run: npx roamjs-scripts build
- name: publish
run: npx roamjs-scripts publish
run: npx roamjs-scripts publish --depot
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default runExtension({
extensionId,
run: ({ extensionAPI }) => {
extensionAPI.settings.panel.create({
tabTitle: "TODO Trigger Home",
tabTitle: "TODO Trigger",
settings: [
{
id: "append-text",
Expand Down Expand Up @@ -303,7 +303,7 @@ export default runExtension({
document.addEventListener("keydown", keydownEventListener);

const isStrikethrough = !!extensionAPI.settings.get("strikethrough");
const isClassname = !!extensionAPI.settings.get("Classname");
const isClassname = !!extensionAPI.settings.get("classname");
const styleBlock = (block: HTMLElement) => {
if (isStrikethrough) {
block.style.textDecoration = "line-through";
Expand Down

0 comments on commit 465f49b

Please sign in to comment.