From ce7be6bbdf0edf069cb50aee64df187609893b92 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Sat, 17 Jun 2023 20:58:51 +0200 Subject: Start refactor --- MatrixRoomUtils.Web/wwwroot/index.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'MatrixRoomUtils.Web/wwwroot/index.html') diff --git a/MatrixRoomUtils.Web/wwwroot/index.html b/MatrixRoomUtils.Web/wwwroot/index.html index f268ac4..9c9e7d0 100644 --- a/MatrixRoomUtils.Web/wwwroot/index.html +++ b/MatrixRoomUtils.Web/wwwroot/index.html @@ -36,6 +36,12 @@ console.log("Element is not an HTMLElement", element); } } + function getWindowDimensions() { + return { + width: window.innerWidth, + height: window.innerHeight + }; + } -- cgit 1.5.1