Fix: minor

This commit is contained in:
eight 2019-09-28 00:23:34 +08:00
parent b4f0ca1549
commit 58949a143d

View File

@ -398,7 +398,7 @@ const styleManager = (() => {
}
function saveStyle(style) {
beforeSave();
beforeSave(style);
return db.exec('put', style)
.then(event => {
afterSave(style, event.target.result);