Skip to content

Commit

Permalink
Merge pull request #8948 from CesiumGS/sandcastle-label
Browse files Browse the repository at this point in the history
Fix Sandcastle error for non-existent labels
  • Loading branch information
lilleyse authored Jun 11, 2020
2 parents c6a993f + ebd4496 commit 3506d49
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Apps/Sandcastle/CesiumSandcastle.js
Original file line number Diff line number Diff line change
Expand Up @@ -1520,6 +1520,8 @@ require({
searchContainer = registry.byId("searchContainer");

hideSearchContainer();
registry.byId("innerPanel").selectChild(subtabs[currentTab]);
if (defined(subtabs[currentTab])) {
registry.byId("innerPanel").selectChild(subtabs[currentTab]);
}
});
});

0 comments on commit 3506d49

Please sign in to comment.