Skip to content

Commit

Permalink
Fixed error
Browse files Browse the repository at this point in the history
  • Loading branch information
Erallie committed Sep 7, 2024
1 parent ba56795 commit ca7e72a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default class CSSInserter extends Plugin {
item
.setTitle("Insert CSS")
.setIcon('lucide-highlighter')
const snippetSubMenu: Menu = item.setSubmenu();
const snippetSubMenu: Menu = (item as any).setSubmenu();
this.settings.css.forEach((css, index) => {
if (css.contextMenu) {
snippetSubMenu.addItem((item) =>
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "css-inserter",
"name": "CSS Inserter",
"version": "1.0.12",
"version": "1.0.13",
"minAppVersion": "1.6.7",
"description": "Inserts user-defined css snippets into the selected text.",
"author": "Erika Gozar, Juanjo Arranz",
Expand Down

0 comments on commit ca7e72a

Please sign in to comment.