Browse Source

Do not have the function name and argument name

flowchartTest
jos 9 years ago
parent
commit
45862bd622
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      lib/network/modules/components/Popup.js

+ 5
- 5
lib/network/modules/components/Popup.js View File

@ -86,14 +86,14 @@ class Popup {
/** /**
* Show the popup window * 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 height = this.frame.clientHeight;
var width = this.frame.clientWidth; var width = this.frame.clientWidth;
var maxHeight = this.frame.parentNode.clientHeight; var maxHeight = this.frame.parentNode.clientHeight;

Loading…
Cancel
Save