fix Ox.formatISBN

This commit is contained in:
rlx 2016-01-16 20:45:57 +05:30
parent 13d505cbc1
commit 94262efd60

View file

@ -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;
};
/*@