From 537972b97b9e7c9254b3421c5c4ca66206dadb4e Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 7 Oct 2020 14:25:32 +0200 Subject: [PATCH] clarify comment --- src/domain/session/SessionViewModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/session/SessionViewModel.js b/src/domain/session/SessionViewModel.js index e6965c8c..076d8178 100644 --- a/src/domain/session/SessionViewModel.js +++ b/src/domain/session/SessionViewModel.js @@ -100,7 +100,7 @@ export class SessionViewModel extends ViewModel { } _closeCurrentRoom() { - // no closing in grid for now + // no closing in grid for now as it is disabled on narrow viewports if (!this._gridViewModel) { this._currentRoomTileViewModel?.close(); this._currentRoomViewModel = this.disposeTracked(this._currentRoomViewModel);