|
@ -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; |
|
|