mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
fixed missing API functions declaration in API ; fixed a typo in APIHandler.
Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
This commit is contained in:
parent
8f1348b40b
commit
3df3b90bd9
2 changed files with 3 additions and 1 deletions
|
@ -104,7 +104,7 @@ exports.getRevisionChangeset = function(padID, rev, callback)
|
|||
if (rev !== undefined && typeof rev !== "number")
|
||||
{
|
||||
// try to parse the number
|
||||
if (!isNaN(parseInt(rev))
|
||||
if (!isNaN(parseInt(rev)))
|
||||
{
|
||||
rev = parseInt(rev);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue