1 files changed, 2 insertions, 0 deletions
diff --git a/MatrixRoomUtils.Web/wwwroot/index.html b/MatrixRoomUtils.Web/wwwroot/index.html
index 0439e62..3fc740a 100644
--- a/MatrixRoomUtils.Web/wwwroot/index.html
+++ b/MatrixRoomUtils.Web/wwwroot/index.html
@@ -36,6 +36,7 @@
console.log("Element is not an HTMLElement", element);
}
}
+
function getWidth(element) {
console.log("getWidth", element);
if (element == null) return 0;
@@ -47,6 +48,7 @@
}
return 0;
}
+
function getWindowDimensions() {
return {
width: window.innerWidth,
|