diff options
Diffstat (limited to 'web/nms.gathering.org/js/nms-info-box.js')
| -rw-r--r-- | web/nms.gathering.org/js/nms-info-box.js | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/web/nms.gathering.org/js/nms-info-box.js b/web/nms.gathering.org/js/nms-info-box.js index 304a8d9..623f6be 100644 --- a/web/nms.gathering.org/js/nms-info-box.js +++ b/web/nms.gathering.org/js/nms-info-box.js @@ -218,6 +218,7 @@ nmsInfoBox._windowTypes.switchInfo = {      return this.childContent;    },    showComments: function() { +			var oldView = this.activeView;  			this.activeView = "comments";        var domObj = document.createElement("div");        var comments = []; @@ -233,7 +234,7 @@ nmsInfoBox._windowTypes.switchInfo = {  				this.commentsHash = false;  			// We have data, but its old, so don't change data -			} else if(this.commentsHash != false && this.commentsHash == nmsData.comments.hash) { +			} else if(oldView == "comments" && this.commentsHash != false && this.commentsHash == nmsData.comments.hash) {  				return;  			// We have data, refresh  | 
