Commit d2860a2b by doszhang

dos

parent 92dd3bf9
......@@ -93,7 +93,7 @@ $(document).ready(function () {
if (!inited) {
return;
}
$('.usertips').hide();
var text = $.trim($('.page:visible').find('input[type=text]').val());
if (text === '') {
showTip('您还没有输入名字');
......@@ -109,6 +109,7 @@ $(document).ready(function () {
showTip('名字最长为5个汉字');
return;
}
$('.usertips').hide();
if (text.length === 2) {
var last = text[1];
text = text[0] + ' ' + last;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment