瀏覽代碼

Merge branch '1702-chat-doesn-t-work-on-ios' into 'master'

Remove vibrate in chat as it breaks the code on iOS

Closes #1702

See merge request Isleward/isleward!522
tags/v0.8.6^2
Big Bad Waffle 3 年之前
父節點
當前提交
5c5cce2888
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      src/client/js/misc/helpers.js

+ 3
- 0
src/client/js/misc/helpers.js 查看文件

@@ -133,5 +133,8 @@ define([], function () {
window.scale = isMobile ? 32 : 40;
window.scaleMult = isMobile ? 4 : 5;

if (!window.navigator.vibrate)
window.navigator.vibrate = () => {};

return window._;
});

Loading…
取消
儲存