Skip to content

Commit

Permalink
prevent the iframe from showing a scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
klaernie committed Apr 2, 2023
1 parent c17f467 commit 0d4c93f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MMM-GrafanaChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0d4c93f

Please sign in to comment.