fix Ox.formatISBN
This commit is contained in:
parent
13d505cbc1
commit
94262efd60
1 changed files with 1 additions and 1 deletions
|
@ -682,7 +682,7 @@ Ox.formatISBN = function(isbn, length, dashes) {
|
|||
ret.slice(-9, -6),
|
||||
ret.slice(-6, -1),
|
||||
ret.slice(-1)
|
||||
].join('-').replace(/^-/, '') : ret;
|
||||
].join('-').replace(/^-+/, '') : ret;
|
||||
};
|
||||
|
||||
/*@
|
||||
|
|
Loading…
Reference in a new issue