Skip to content

Commit

Permalink
Fix endless icon insertion at the top of the file view window (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArlonSwaders authored Sep 9, 2024
1 parent 549f977 commit b572cc5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "typing",
"name": "Typing",
"version": "0.3.7",
"version": "0.3.8",
"minAppVersion": "0.9.12",
"description": "Programmatic customizations for groups of notes",
"author": "Nikita Konodyuk",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-typing",
"version": "0.3.7",
"version": "0.3.8",
"description": "Strict note typing for Obsidian",
"main": "main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/middleware/title_bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const ViewTitle = (props: { prefix: string | null; name: string | null; onNameCl

function addViewActions(view: MarkdownView) {
let actionsEl = view.containerEl.querySelector(".view-actions") as HTMLElement;
if (!actionsEl.querySelector(`a.view-action[aria-label="Actions"]`)) {
if (!actionsEl.querySelector(`button.view-action[aria-label="Actions"]`)) {
view.addAction("layout-grid", "Actions", () => {
let note = gctx.api.note(view.file.path);
new ActionSuggestModal(gctx.app, note).open();
Expand Down

1 comment on commit b572cc5

@tb-1212
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi may i know how to install the newest version?

I tried to update in obsidian but it says "The release is not complete and cannot be download. main.js is missing from the Release"

Please sign in to comment.