Make code prettier 💅

This commit is contained in:
Régis Hanol 2018-11-14 17:57:22 +01:00
parent c78dcde973
commit 20899654aa
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ Draft.reopenClass({
},
save(key, sequence, data) {
data = typeof(data) === "string" ? data : JSON.stringify(data);
data = typeof data === "string" ? data : JSON.stringify(data);
return ajax("/draft.json", {
type: "POST",
data: { draft_key: key, sequence, data }