Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
chhoumann committed Dec 12, 2022
2 parents 6f251d9 + 9bef8e5 commit 896b6b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/suggesters/LaTeXSuggester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import QuickAdd from "../../main";
const LATEX_REGEX = new RegExp(/\\([a-z{}A-Z0-9]*)$/);

export class LaTeXSuggester extends TextInputSuggest<string> {
private lastInput: string = "";
private lastInput = "";
private symbols;
private elementsRendered;

Expand Down Expand Up @@ -37,8 +37,8 @@ export class LaTeXSuggester extends TextInputSuggest<string> {

if (match) {
this.lastInput = match[1];
//@ts-ignore
suggestions = this.symbols.filter((val) =>
//@ts-ignore
val.toLowerCase().contains(this.lastInput)
);
}
Expand Down

1 comment on commit 896b6b4

@vercel
Copy link

@vercel vercel bot commented on 896b6b4 Dec 12, 2022

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

quickadd – ./

quickadd-chrisbbh.vercel.app
quickadd-git-master-chrisbbh.vercel.app
quickadd.obsidian.guide

Please sign in to comment.