We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dddae28 commit d64ba7aCopy full SHA for d64ba7a
1 file changed
src/container/vpContainer.js
@@ -621,9 +621,11 @@ define([
621
}
622
623
// resize
624
- var blockContainer = apiBlockJS.getBlockContainer();
625
- if (blockContainer.getIsOptionPageResize() == false) {
626
- blockContainer.resizeAPIblock();
+ if (apiBlockJS) {
+ var blockContainer = apiBlockJS.getBlockContainer();
+ if (blockContainer && blockContainer.getIsOptionPageResize() == false) {
627
+ blockContainer.resizeAPIblock();
628
+ }
629
630
631
0 commit comments