Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
郝肖肖
2016-12-20 21:59:28 +0800
Commit
c5f0758f009ab16abec676cc39ce9d81aa2ea059
2 parents
302b95ab
c1068d67
Merge branch 'release/wap-im' of git.yoho.cn:fe/yohobuywap-node into release/wap-im
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
public/js/service/chat/index.js
public/js/service/chat/index.js
View file @
c5f0758
...
...
@@ -174,6 +174,8 @@ var chat = {
self
.
canManualService
&&
self
.
switchService
(
'human'
);
})
.
on
(
'keydown.chat.sendText'
,
'.text-in'
,
function
(
event
)
{
document
.
body
.
scrollTop
=
document
.
body
.
scrollHeight
;
if
(
event
.
which
===
13
)
{
let
val
=
$
.
trim
(
event
.
target
.
value
);
...
...
Please
register
or
login
to post a comment