Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chat_webview
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abookCommunication
chat_webview
Commits
83b0ed10
Commit
83b0ed10
authored
Apr 22, 2021
by
Kang Donghun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#42593 ルーム内で検索ボタンをタップすると、メッセージ欄等が表示される
parent
1b38a184
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
public_new/js/chat.js
+5
-1
No files found.
public_new/js/chat.js
View file @
83b0ed10
...
...
@@ -279,6 +279,7 @@ $(function() {
// 検索アイコン押下イベント
$
(
'.nav_item_wrap .search_menu'
).
click
(
function
(){
$
(
'.nav_item_wrap'
).
addClass
(
'none'
);
$
(
'.footer-wrap'
).
addClass
(
'none'
);
$
(
'.chat_room_src_form'
).
removeClass
(
'none'
);
$
(
'.room_container'
).
addClass
(
'none'
);
$
(
'.overlay_src_msg'
).
removeClass
(
'none'
);
...
...
@@ -292,6 +293,7 @@ $(function() {
});
$
(
'.chat_room_src_form .cancel'
).
click
(
function
(){
$
(
'.nav_item_wrap'
).
removeClass
(
'none'
);
$
(
'.footer-wrap'
).
removeClass
(
'none'
);
$
(
'.chat_room_src_form'
).
addClass
(
'none'
);
$
(
'.chat_room_src_form input'
).
val
(
''
);
$
(
'.room_container'
).
removeClass
(
'none'
);
...
...
@@ -303,6 +305,7 @@ $(function() {
$
(
'.chat_room_src_form input[type="search"]'
).
blur
();
$
(
'#searchMessage'
).
removeClass
(
'onfocus'
);
$
(
'.chat_list'
).
addClass
(
'none'
);
CHAT_UI
.
scrollToBottom
();
});
$
(
'.chat_room_src_form input[type="search"]'
).
click
(
function
()
{
...
...
@@ -417,6 +420,7 @@ $(function() {
var
beforeHeight
;
var
beforeScroll
;
var
footerHeight
=
$
(
'.footer-wrap'
).
height
();
window
.
addEventListener
(
"resize"
,
function
()
{
console
.
log
(
'aaaa'
);
var
afterHeight
=
window
.
innerHeight
;
...
...
@@ -428,7 +432,7 @@ $(function() {
}
else
{
//キーボード非表示
$
(
'.room_container'
).
css
(
'margin-bottom'
,
$
(
'.footer-wrap'
).
height
()
);
$
(
'.room_container'
).
css
(
'margin-bottom'
,
footerHeight
);
window
.
scrollTo
(
0
,
beforeScroll
);
}
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment