Skip to content

Commit d64ba7a

Browse files
author
minjk-bl
committed
error fix
1 parent dddae28 commit d64ba7a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/container/vpContainer.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -621,9 +621,11 @@ define([
621621
}
622622

623623
// resize
624-
var blockContainer = apiBlockJS.getBlockContainer();
625-
if (blockContainer.getIsOptionPageResize() == false) {
626-
blockContainer.resizeAPIblock();
624+
if (apiBlockJS) {
625+
var blockContainer = apiBlockJS.getBlockContainer();
626+
if (blockContainer && blockContainer.getIsOptionPageResize() == false) {
627+
blockContainer.resizeAPIblock();
628+
}
627629
}
628630
}
629631

0 commit comments

Comments
 (0)