client haptics on phones
This commit is contained in:
parent
ed4b9ee7d5
commit
315845ac8e
|
@ -6,6 +6,7 @@ var viewModel = {
|
|||
temp_c: ko.observable(),
|
||||
temp_f: ko.observable(),
|
||||
send: function (remote, command) {
|
||||
window.navigator.vibrate(200);
|
||||
socket.emit('send_once', { remote: remote, command: command });
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue