mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
db/API.js: early return, no functional changes
This commit is contained in:
parent
05a33f1533
commit
42bc0a59e1
1 changed files with 3 additions and 4 deletions
|
@ -442,11 +442,10 @@ exports.setHTML = function(padID, html, callback)
|
||||||
if(e){
|
if(e){
|
||||||
callback(new customError("HTML is malformed","apierror"));
|
callback(new customError("HTML is malformed","apierror"));
|
||||||
return;
|
return;
|
||||||
}else{
|
}
|
||||||
|
|
||||||
//update the clients on the pad
|
//update the clients on the pad
|
||||||
padMessageHandler.updatePadClients(pad, callback);
|
padMessageHandler.updatePadClients(pad, callback);
|
||||||
return;
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue