mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 11:40:25 +00:00
Remove reconnect code (in UI)
This commit is contained in:
parent
881b7b3903
commit
ca88626ba5
1 changed files with 1 additions and 10 deletions
|
|
@ -237,16 +237,7 @@ ready (model) ->
|
|||
user.set('lvl', lvl)
|
||||
#[user.money, user.hp, user.exp, user.lvl] = [money, hp, exp, lvl]
|
||||
|
||||
## RECONNECT & SHORTCUTS ##
|
||||
|
||||
showReconnect = model.at '_showReconnect'
|
||||
showReconnect.set true
|
||||
exports.connect = ->
|
||||
showReconnect.set false
|
||||
setTimeout (-> showReconnect.set true), 1000
|
||||
model.socket.socket.connect()
|
||||
|
||||
exports.reload = -> window.location.reload()
|
||||
## SHORTCUTS ##
|
||||
|
||||
exports.shortcuts = (e) ->
|
||||
return unless e.metaKey || e.ctrlKey
|
||||
|
|
|
|||
Loading…
Reference in a new issue