From 0d4c93ffd22cc73da17ef93aeced0fe06e06244a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=20Kl=C3=A4rner?= Date: Sun, 30 May 2021 22:42:37 +0200 Subject: [PATCH] prevent the iframe from showing a scrollbar --- MMM-GrafanaChart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MMM-GrafanaChart.js b/MMM-GrafanaChart.js index 9db60b2..418e00a 100755 --- a/MMM-GrafanaChart.js +++ b/MMM-GrafanaChart.js @@ -34,7 +34,7 @@ Module.register("MMM-GrafanaChart", { iframe.src = this.config.protocol + "://" + this.config.host + ":" + this.config.port + "/dashboard-solo/db/" + this.config.dashboardname+ "?orgId=" + this.config.orgId + "&panelId=" + this.config.panelId + "&from=" + this.config.from + "&to=" + this.config.to;; } iframe.setAttribute("timestamp", new Date().getTime()); - iframe.setAttribute("scrollable", "no"); + iframe.setAttribute("scrolling", "no"); return iframe; }, scheduleUpdate: function(delay) {