1
0
Fork 0
forked from 0x2620/oxjs

fix a bug with emptying the find field of a map and pressing return

This commit is contained in:
rlx 2011-10-13 11:34:10 +00:00
commit 50e6321e00
2 changed files with 9 additions and 4 deletions

View file

@ -466,7 +466,6 @@ Ox.formatDuration = function(/*sec, dec, format*/) {
2,
dec ? dec + 3 : 2
];
Ox.print('val', val)
while (!val[0] && val.length > (!format ? 3 : 1)) {
val.shift();
str.shift();