Преглед на файлове

:bug:修正编辑过程中注释的bug

bhikkhu-kosalla-china преди 4 години
родител
ревизия
d5608aa487
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1 0
      app/studio/js/editor.js
  2. 1 1
      app/studio/js/xml.js

+ 1 - 0
app/studio/js/editor.js

@@ -2883,6 +2883,7 @@ function modifyCancel() {
 	document.getElementById("debug").style.display = "-webkit-flex";
 	document.getElementById("debug").style.display = "-moz-flex";
 	document.getElementById("debug").style.display = "-webkit-flex";
+	refreshNoteNumber();
 }
 
 //获取某词的段落索引

+ 1 - 1
app/studio/js/xml.js

@@ -599,7 +599,7 @@ function modifyApply(sWordId, update_user_dict) {
 	}
 	refreshBookMark();
 	user_wbw_commit();
-
+	refreshNoteNumber();
 	//上传到用户字典
 	if (update_user_dict) {
 		upload_to_my_dict();