Don't update in toggleAddCooldown.

This commit is contained in:
AchtBit 2015-02-17 19:40:55 -06:00
parent 7568f0c64e
commit 8358197d7f

View File

@ -169,12 +169,8 @@ QR =
toggleAddCooldown: ->
if @checked
QR.cooldown.addCooldown = true
if QR.cooldown.seconds
QR.cooldown.seconds += parseInt(Conf['additionalCooldown'])
else
QR.cooldown.addCooldown = false
if QR.cooldown.seconds
QR.cooldown.seconds -= parseInt(Conf['additionalCooldown'])
error: (err) ->
QR.open()