client haptics on phones

This commit is contained in:
Vivian Lim 2015-08-31 16:03:06 -07:00
parent ed4b9ee7d5
commit 315845ac8e
1 changed files with 1 additions and 0 deletions

View File

@ -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 });
}
}