add ultrabullet rating to seek form
This commit is contained in:
parent
78a12bd83d
commit
e9e8d0a705
|
@ -95,6 +95,7 @@ case class Perfs(
|
|||
"horde" -> horde,
|
||||
"racingKings" -> racingKings,
|
||||
"crazyhouse" -> crazyhouse,
|
||||
"ultraBullet" -> bullet,
|
||||
"bullet" -> bullet,
|
||||
"blitz" -> blitz,
|
||||
"classical" -> classical,
|
||||
|
|
|
@ -238,7 +238,8 @@ module.exports = function(cfg, element) {
|
|||
case '1':
|
||||
if (timeMode == '1') {
|
||||
var time = $timeInput.val() * 60 + $incrementInput.val() * 40;
|
||||
if (time < 180) key = 'bullet';
|
||||
if (time < 30) key = 'ultraBullet';
|
||||
else if (time < 180) key = 'bullet';
|
||||
else if (time < 480) key = 'blitz';
|
||||
else key = 'classical';
|
||||
} else key = 'correspondence';
|
||||
|
|
Loading…
Reference in a new issue