Commit a8d989f2 by Kim Peace

Added clear checked mark on search user filter feature in chat room when cancel pressed

parent 56f8fddc
......@@ -25,7 +25,7 @@
<div class="d-flex flex-row h-100 align-items-center">
<input type="search" name="search" id="searchMessage" placeholder="メッセージ検索" maxlength="600">
<span class="src_icon"></span>
<a href="#" class="cancel" id="messageSearchCancle">キャンセル</a>
<a href="#" class="cancel" id="messageSearchCancel">キャンセル</a>
</div>
</div>
<div class="row nav_item_wrap h-100 align-items-center">
......
......@@ -17,7 +17,7 @@ ChatRoom.bindSearchUI = function () {
chatSearchInput.focus();
searchMessage.addClass("onfocus");
$(".chat_list").removeClass("none");
//メッセージ情報をCMS側から最新に更新
NativeBridgeDelegate.updatePreMessage("");
});
......@@ -93,6 +93,10 @@ ChatRoom.bindSearchUI = function () {
});
ChatRoom.bindUserFilteredMessage();
$("#messageSearchCancel").on("click", function (event) {
$(".img_wrap.filter").removeClass("filter");
});
};
ChatRoom.bindUserFilteredMessage = function () {
......@@ -135,4 +139,4 @@ ChatRoom.getCheckedUserList = function () {
checkedUserList.push($(selectedUser).data("user-id"));
});
return checkedUserList;
};
};
\ No newline at end of file
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 to comment