ソースを参照

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];