Merge branch 'hotfix/0.3.2' into develop
This commit is contained in:
commit
120e837c02
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "better-word-count",
|
"id": "better-word-count",
|
||||||
"name": "Better Word Count",
|
"name": "Better Word Count",
|
||||||
"version": "0.3.1",
|
"version": "0.3.2",
|
||||||
"description": "Counts the words of selected text in the editor.",
|
"description": "Counts the words of selected text in the editor.",
|
||||||
"author": "Luke Leppan",
|
"author": "Luke Leppan",
|
||||||
"authorUrl": "https://lukeleppan.com",
|
"authorUrl": "https://lukeleppan.com",
|
||||||
|
|
|
@ -50,7 +50,7 @@ export default class BetterWordCount extends Plugin {
|
||||||
let files: TFile[] = this.app.vault.getMarkdownFiles();
|
let files: TFile[] = this.app.vault.getMarkdownFiles();
|
||||||
|
|
||||||
files.forEach((file) => {
|
files.forEach((file) => {
|
||||||
if ((file.basename = activeLeaf.getDisplayText())) {
|
if (file.basename === activeLeaf.getDisplayText()) {
|
||||||
this.onFileOpen(file);
|
this.onFileOpen(file);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue