diff --git a/lib/network/modules/components/Popup.js b/lib/network/modules/components/Popup.js index 3e66adbe..3c3f8cfa 100644 --- a/lib/network/modules/components/Popup.js +++ b/lib/network/modules/components/Popup.js @@ -86,14 +86,14 @@ class Popup { /** * Show the popup window - * @param {boolean} show Optional. Show or hide the window + * @param {boolean} [doShow] Show or hide the window */ - show(show) { - if (show === undefined) { - show = true; + show(doShow) { + if (doShow === undefined) { + doShow = true; } - if (show === true) { + if (doShow === true) { var height = this.frame.clientHeight; var width = this.frame.clientWidth; var maxHeight = this.frame.parentNode.clientHeight;