more modern full screen handling
This commit is contained in:
parent
51bc2c5f4a
commit
ba16c8f1f4
5 changed files with 28 additions and 180 deletions
|
|
@ -98,7 +98,7 @@ class WeatherDisplay {
|
|||
|
||||
// create a canvas
|
||||
const canvas = document.createElement('template');
|
||||
canvas.innerHTML = `<canvas id='${elemId+'Canvas'}' width='${width}' height='${height}'/ style='display: none;'>`;
|
||||
canvas.innerHTML = `<canvas id='${elemId+'Canvas'}' width='${width}' height='${height}' style='display: none;' />`;
|
||||
|
||||
// add to the page
|
||||
const container = document.getElementById('container');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue