mirror of
https://github.com/201206030/novel.git
synced 2025-06-24 08:06:39 +00:00
v2.1.1发布,限制发送弹幕长度
This commit is contained in:
@ -208,6 +208,10 @@
|
||||
var bullet = $("#screenBulletText").val();
|
||||
var contentId = $("#contentIdHidden").val();
|
||||
if (bullet && contentId) {
|
||||
if(bullet.length > 100){
|
||||
layer.alert("发送内容过长");
|
||||
return;
|
||||
}
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/book/sendBullet",
|
||||
|
Reference in New Issue
Block a user