danmaku url bug

This commit is contained in:
DIYgod
2016-05-13 08:47:19 +08:00
parent 2c1d7c149d
commit de22a18af8
3 changed files with 4 additions and 4 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -685,7 +685,7 @@
}
}
};
xhr.open('get', this.option.danmaku.add, true);
xhr.open('get', this.option.danmaku.get, true);
xhr.send(null);
}
else {
@@ -791,7 +791,7 @@
}
}
};
xhr.open('post', this.option.danmaku.get, true);
xhr.open('post', this.option.danmaku.add, true);
xhr.send(JSON.stringify(danmakuData));
commentInput.value = '';