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 6c5f31b commit c17f467
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MMM-GrafanaChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +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");
return iframe;
},
scheduleUpdate: function(delay) {
Expand Down

0 comments on commit c17f467

Please sign in to comment.