forked from 0x2620/oxjs
fix a bug with emptying the find field of a map and pressing return
This commit is contained in:
parent
8d940f5222
commit
50e6321e00
2 changed files with 9 additions and 4 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue