mirror of
https://github.com/groldsf/obsidian_check_plugin.git
synced 2026-07-22 05:37:48 +00:00
v upd, fix bug #10
This commit is contained in:
parent
e044691186
commit
03ee45cc1c
2 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "checkbox-sync",
|
||||
"name": "Checkbox Sync",
|
||||
"version": "1.0.9",
|
||||
"version": "1.0.10",
|
||||
"minAppVersion": "0.12.0",
|
||||
"description": "Automatically checks the parent checkbox if all child checkboxes are completed, and unchecks it otherwise.",
|
||||
"author": "Grol",
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ export default class SyncController {
|
|||
|
||||
let newText = this.checkboxUtils.syncText(text, textBefore);
|
||||
if (newText === text) {
|
||||
this.fileStateHolder.set(file, newText);
|
||||
console.log(`sync editor "${file.basename}" stop. new text equals old text.`);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue