tablets: fix regression introduced in d807032 breaking loby for touch devices (issue #84 & issue #78)
This commit is contained in:
parent
5e6fb69593
commit
0795c4cd16
2 changed files with 9 additions and 3 deletions
|
|
@ -1,5 +1,11 @@
|
|||
# Changelog
|
||||
|
||||
## 0.19.2
|
||||
|
||||
- bug fixes
|
||||
- lobby: regression breaking the lobby for touch devices
|
||||
|
||||
|
||||
## 0.19.1
|
||||
|
||||
- bug fixes
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ var callbacks = module.exports = {
|
|||
e.stopPropagation()
|
||||
ipc.send('sessionOpen',{path:$(this).data('session')})
|
||||
}).on('mousedown touchstart', function(e){
|
||||
e.preventDefault()
|
||||
if (e.type == 'mousedown') e.preventDefault()
|
||||
$(this).blur()
|
||||
})
|
||||
|
||||
|
|
@ -81,14 +81,14 @@ var callbacks = module.exports = {
|
|||
e.stopPropagation()
|
||||
actions.sessionBrowse()
|
||||
}).on('mousedown touchstart', function(e){
|
||||
e.preventDefault()
|
||||
if (e.type == 'mousedown') e.preventDefault()
|
||||
$(this).blur()
|
||||
})
|
||||
lobby.find('.new').click(function(e){
|
||||
e.stopPropagation()
|
||||
module.exports.sessionNew()
|
||||
}).on('mousedown touchstart', function(e){
|
||||
e.preventDefault()
|
||||
if (e.type == 'mousedown') e.preventDefault()
|
||||
$(this).blur()
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue