소스 검색

Merge pull request #188 from visuddhinanda/master

只处理有info属性的note
visuddhinanda 5 년 전
부모
커밋
41770663cb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/term/note.js

+ 1 - 1
app/term/note.js

@@ -72,7 +72,7 @@ function note_init(input) {
 function note_update_background_style() {
 	var mSentsBook = new Array();
 	var mBgIndex = 1;
-	$("note").each(function () {
+	$("note[info]").each(function () {
 		let info = $(this).attr("info").split("-");
 		if (info.length >= 2) {
 			let book = info[0];