Skip to content

Commit

Permalink
Merge pull request #94 from AB1908/master
Browse files Browse the repository at this point in the history
Fix beta release by commenting out inputEl cloning
  • Loading branch information
jsmorabito authored Dec 9, 2022
2 parents 5bb2124 + 937ebe2 commit 4b16e13
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion manifest-beta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "workspaces-plus",
"name": "Workspaces Plus",
"version": "0.4.15",
"version": "0.4.16",
"minAppVersion": "0.9.12",
"description": "Quickly switch and manage workspaces",
"author": "NothingIsLost",
Expand Down
4 changes: 2 additions & 2 deletions src/modeModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ export class WorkspacesPlusPluginModeModal extends FuzzySuggestModal<string> {
this.modalEl.on("mousemove", ".workspace-item", this.onSuggestionMouseover.bind(this));

// clone the input element as a hacky way to get rid of the obsidian onInput handler
const inputElClone = this.inputEl.cloneNode() as HTMLInputElement;
// const inputElClone = this.inputEl.cloneNode() as HTMLInputElement;
// this.modalEl.replaceChild(inputElClone, this.inputEl);
this.inputEl = inputElClone;
// this.inputEl = inputElClone;
}

onNoSuggestion(): void {
Expand Down
4 changes: 2 additions & 2 deletions src/workspaceModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ export class WorkspacesPlusPluginWorkspaceModal extends FuzzySuggestModal<string
this.modalEl.on("mousemove", ".workspace-item", this.onSuggestionMouseover.bind(this));

// clone the input element as a hacky way to get rid of the obsidian onInput handler
const inputElClone = this.inputEl.cloneNode() as HTMLInputElement;
// const inputElClone = this.inputEl.cloneNode() as HTMLInputElement;
// this.modalEl.replaceChild(inputElClone, this.inputEl);
this.inputEl = inputElClone;
// this.inputEl = inputElClone;
}

onNoSuggestion(): void {
Expand Down

0 comments on commit 4b16e13

Please sign in to comment.