From bf2a4afce523b8b96cc6b6999a8823ea209e6817 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Wed, 28 Jun 2017 12:02:07 +0100 Subject: [PATCH] Change to allow setting of DEBUG at run-time. --- src/components/structures/RoomView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 6e6325504a..85440cf261 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -47,7 +47,7 @@ import UserProvider from '../../autocomplete/UserProvider'; import RoomViewStore from '../../stores/RoomViewStore'; -const DEBUG = false; +let DEBUG = false; let debuglog = function() {}; if (DEBUG) {