Skip to content
Snippets Groups Projects
Commit d3523702 authored by Giovanni Caruso's avatar Giovanni Caruso Committed by Moritz Langenstein
Browse files

Changed x to const

parent cb2e8555
No related branches found
No related tags found
No related merge requests found
......@@ -137,7 +137,7 @@ HTML.slider.oninput = function() {
canvas.setStrokeRadius(this.value / 10)
}
var x = window.matchMedia(
const x = window.matchMedia(
"only screen and (orientation: landscape) and (max-width: 600px)",
)
x.addListener(() => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment