mirror of
https://github.com/201206030/novel.git
synced 2025-04-27 07:30:50 +00:00
v2.1.1发布,限制发送弹幕长度
This commit is contained in:
parent
eac0ce9302
commit
9b4f58630b
@ -10,7 +10,7 @@
|
||||
</parent>
|
||||
<groupId>xyz.zinglizingli</groupId>
|
||||
<artifactId>novel-front</artifactId>
|
||||
<version>2.1.0.beta</version>
|
||||
<version>2.1.1.beta</version>
|
||||
<name>novel-front</name>
|
||||
<description>小说精品楼-前台web网站</description>
|
||||
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user