Commit 99429c30 by onuma

isIOSをisiOSに統一

parent 9ecee0d3
...@@ -49,7 +49,7 @@ ChatList.bindChatSearch = function () { ...@@ -49,7 +49,7 @@ ChatList.bindChatSearch = function () {
// iOSキーボード変換検知用 // iOSキーボード変換検知用
chatSearchInput.on("compositionend", function () { chatSearchInput.on("compositionend", function () {
if (deviceInfo.isIOS()) { if (deviceInfo.isiOS()) {
var rooms; var rooms;
var keyword = chatSearchInput.val(); var keyword = chatSearchInput.val();
ChatList.searchRoom(keyword, rooms); ChatList.searchRoom(keyword, rooms);
......
...@@ -76,7 +76,7 @@ ChatRoom.bindSearchUI = function () { ...@@ -76,7 +76,7 @@ ChatRoom.bindSearchUI = function () {
// iOSキーボード変換検知用 // iOSキーボード変換検知用
chatSearchInput.on("compositionend", function () { chatSearchInput.on("compositionend", function () {
if (deviceInfo.isIOS()) { if (deviceInfo.isiOS()) {
let workVal = ""; let workVal = "";
var keyword = chatSearchInput.val(); var keyword = chatSearchInput.val();
ChatRoom.searchMessage(keyword, workVal); ChatRoom.searchMessage(keyword, workVal);
......
...@@ -59,7 +59,7 @@ ChatRoom.bindResize = function () { ...@@ -59,7 +59,7 @@ ChatRoom.bindResize = function () {
} }
} else if (beforeHeight < afterHeight) { } else if (beforeHeight < afterHeight) {
$(".room_container").css("margin-bottom", footerHeight); $(".room_container").css("margin-bottom", footerHeight);
if (deviceInfo.isIOS()) { if (deviceInfo.isiOS()) {
window.scrollTo(0, beforeScroll + moreScroll); window.scrollTo(0, beforeScroll + moreScroll);
} else if (beforeWidth == afterWidth) { } else if (beforeWidth == afterWidth) {
//キーボード非表示 //キーボード非表示
......
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