Fix call to cell.model.getMetadata()

This commit is contained in:
Jeremy Tuloup 2022-11-18 10:03:49 +00:00
parent a9c422f4cd
commit 23391a9ed0

View File

@ -270,7 +270,7 @@ const scrollOutput: JupyterFrontEndPlugin<void> = {
}
const { outputArea } = cell;
// respect cells with an explicit scrolled state
const scrolled = cell.model.metadata.get('scrolled');
const scrolled = cell.model.getMetadata('scrolled');
if (scrolled !== undefined) {
return;
}