Skip to content

Commit

Permalink
Fix _updateConstraints missing protected/private classifier. (j…
Browse files Browse the repository at this point in the history
…upyterlab#15066)

It was meant to be private - simple typo in a previous PR.
To avoid breakages in case if anyone has adopted it in a subclass
I am marking it as `protected`. If anyone was using it as a public
method this was an error - it should not be used like that.
  • Loading branch information
krassowski authored Sep 4, 2023
1 parent 6d7c8b5 commit 453aac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/completer/src/widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class Completer extends Widget {
/**
* Cache style constraints from CSS.
*/
_updateConstraints() {
protected _updateConstraints() {
const tempNode = document.createElement('div');
tempNode.classList.add(LIST_CLASS);
tempNode.style.visibility = 'hidden';
Expand Down

0 comments on commit 453aac6

Please sign in to comment.