From 45862bd622e5b43621ebdb708a38bc14cf0b5f7a Mon Sep 17 00:00:00 2001 From: jos Date: Tue, 14 Apr 2015 14:11:22 +0200 Subject: [PATCH] Do not have the function name and argument name --- lib/network/modules/components/Popup.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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;