Fix: replaceMetas -> replaceMeta
This commit is contained in:
parent
b4dfe5c836
commit
eef17cc4f8
|
@ -1907,7 +1907,7 @@ function replaceStyle(request) {
|
|||
if (codeIsUpdated) {
|
||||
editor.replaceStyle(request.style);
|
||||
} else {
|
||||
editor.replaceMetas(request.style);
|
||||
editor.replaceMeta(request.style);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -247,7 +247,7 @@ ${section}
|
|||
return dirty.isDirty() || hadBeenSaved;
|
||||
}
|
||||
|
||||
function replaceMetas(newStyle) {
|
||||
function replaceMeta(newStyle) {
|
||||
style.enabled = newStyle.enabled;
|
||||
dirty.clear('enabled');
|
||||
updateMetas();
|
||||
|
@ -255,7 +255,7 @@ ${section}
|
|||
|
||||
return {
|
||||
replaceStyle,
|
||||
replaceMetas,
|
||||
replaceMeta,
|
||||
save,
|
||||
toggleStyle,
|
||||
isDirty: dirty.isDirty,
|
||||
|
|
Loading…
Reference in New Issue
Block a user