Pārlūkot izejas kodu

removed vibrate api for desktop

tags/v0.3.1
Big Bad Waffle pirms 5 gadiem
vecāks
revīzija
2701ad1211
2 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. +2
    -2
      src/client/js/input.js
  2. +1
    -1
      src/client/ui/templates/messages/styles.less

+ 2
- 2
src/client/js/input.js Parādīt failu

@@ -66,7 +66,8 @@ define([
.on('touchend', this.events.touch.touchEnd.bind(this))
.on('touchcancel', this.events.touch.touchCancel.bind(this));

require(['plugins/shake.js'], this.onLoadShake.bind(this));
if (isMobile)
require(['plugins/shake.js'], this.onLoadShake.bind(this));
},

onLoadShake: function (shake) {
@@ -77,7 +78,6 @@ define([

shaker.start();
window.addEventListener('shake', this.events.mobile.onShake.bind(this), false);
setTimeout(this.events.mobile.onShake.bind(this), 5000);
},

resetKeys: function () {


+ 1
- 1
src/client/ui/templates/messages/styles.less Parādīt failu

@@ -21,7 +21,7 @@
pointer-events: all;

.el.textbox {
&.message {
&.message:not(.input) {
display: block;
}



Notiek ielāde…
Atcelt
Saglabāt