Skip to content

Commit e8dafda

Browse files
author
minjk-bl
committed
Edit HelpViewer default state
1 parent 0232a1c commit e8dafda

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

visualpython/js/com/component/PopupComponent.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ define([
108108
// show view box
109109
codeview: true,
110110
dataview: true,
111-
helpview: true,
111+
helpview: false,
112112
// show footer
113113
runButton: true,
114114
footer: true,
@@ -598,7 +598,7 @@ define([
598598

599599
let {
600600
installButton, importButton, packageButton,
601-
codeview, dataview, runButton, footer,
601+
codeview, dataview, helpview, runButton, footer,
602602
sizeLevel, position, docs
603603
} = this.config;
604604

@@ -634,6 +634,9 @@ define([
634634
if (!dataview) {
635635
$(this.wrapSelector('.vp-popup-button[data-type="data"]')).hide();
636636
}
637+
if (!helpview) {
638+
$(this.wrapSelector('.vp-popup-button[data-type="help"]')).hide();
639+
}
637640

638641
// run button
639642
if (!runButton) {

0 commit comments

Comments
 (0)