mirror of
https://github.com/jupyter/notebook.git
synced 2025-04-12 14:00:27 +08:00
Fix call to cell.model.getMetadata()
This commit is contained in:
parent
a9c422f4cd
commit
23391a9ed0
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user