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.
2 parents dddae28 + d64ba7a commit c2974b7Copy full SHA for c2974b7
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