This website works better with JavaScript.
Почетна
Преглед
Помоћ
Регистрација
Пријавите Се
gitlord
/
isleward
огледало од
https://gitlab.com/Isleward/isleward.git
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Издања
203
Вики
Activity
Преглед изворни кода
Better fix for the vibrate on iOS issue
This keeps the vibrate on Android devices
tags/v0.8.6^2
Vildravn
пре 3 година
родитељ
2b742f8323
комит
304362b831
2 измењених фајлова
са
6 додато
и
0 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
src/client/js/misc/helpers.js
+2
-0
src/client/ui/templates/messages/mobile.js
+ 4
- 0
src/client/js/misc/helpers.js
Прегледај датотеку
@@ -133,5 +133,9 @@ define([], function () {
window.scale = isMobile ? 32 : 40;
window.scaleMult = isMobile ? 4 : 5;
if (!window.navigator.vibrate) {
window.navigator.vibrate = () => {};
}
return window._;
});
+ 2
- 0
src/client/ui/templates/messages/mobile.js
Прегледај датотеку
@@ -64,6 +64,8 @@ define([
},
clickKey: function (key) {
window.navigator.vibrate(20);
let elInput = this.find('input');
const handler = {
Write
Preview
Loading…
Откажи
Сачувај