this is a wild guess

This commit is contained in:
celeste 2024-07-25 18:45:26 -07:00
parent a6341f64b5
commit aadf65783f
4 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
{ {
"id": "loom", "id": "loom",
"name": "Loom", "name": "Loom",
"version": "1.21.0", "version": "1.21.1",
"minAppVersion": "0.15.0", "minAppVersion": "0.15.0",
"description": "Loom in Obsidian", "description": "Loom in Obsidian",
"author": "celeste", "author": "celeste",

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "obsidian-loom", "name": "obsidian-loom",
"version": "1.20.7", "version": "1.21.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "obsidian-loom", "name": "obsidian-loom",
"version": "1.20.7", "version": "1.21.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@anthropic-ai/sdk": "^0.20.0", "@anthropic-ai/sdk": "^0.20.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "obsidian-loom", "name": "obsidian-loom",
"version": "1.21.0", "version": "1.21.1",
"description": "Loom in Obsidian", "description": "Loom in Obsidian",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {

View file

@ -751,7 +751,7 @@ export const loomEditorPluginSpec: PluginSpec<LoomEditorPlugin> = {
// the second last element, since the last is `loom__editor-node-hover` // the second last element, since the last is `loom__editor-node-hover`
const className = target.classList[target.classList.length - 2]; const className = target.classList[target.classList.length - 2];
const id = className.split("-").slice(2).join("-"); const id = className.split("-").slice(2).join("-");
app.workspace.trigger("loom:switch-to", id); this.app.workspace.trigger("loom:switch-to", id);
return true; return true;
}, },