Explorar o código

note.js 只处理有info属性的

visuddhinanda %!s(int64=5) %!d(string=hai) anos
pai
achega
9665d5718f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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];