diff options
Diffstat (limited to 'web')
| -rw-r--r-- | web/nms.gathering.org/js/nms-info-box.js | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/web/nms.gathering.org/js/nms-info-box.js b/web/nms.gathering.org/js/nms-info-box.js index e93ab55..e0f9273 100644 --- a/web/nms.gathering.org/js/nms-info-box.js +++ b/web/nms.gathering.org/js/nms-info-box.js @@ -22,6 +22,10 @@ var nmsInfoBox = nmsInfoBox || {   * Shows a window from the _windowTypes list   */  nmsInfoBox.showWindow = function (windowName,argument) { +	if(windowName == "switchInfo" && argument != '' && argument == this._window.sw) { +		nmsInfoBox.hide(); +		return; +	}    nmsInfoBox.hide();    for(var win in this._windowTypes) {      if(windowName == win) { | 
