debisoft commited on
Commit
ac5a5f0
·
1 Parent(s): 6d6577d

fix height

Browse files
Files changed (1) hide show
  1. main.py +3 -3
main.py CHANGED
@@ -4,7 +4,7 @@ app = FastHTML()
4
  rt = app.route
5
 
6
  style="""
7
- #mapid { height: 180px; }
8
  """
9
 
10
  js = """
@@ -15,9 +15,9 @@ function load()
15
  maxZoom: 19,
16
  attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
17
  }).addTo(map);
18
- alert('loading...');
19
  }
20
- setTimeout(load, 5000);
21
  """
22
 
23
  @rt('/')
 
4
  rt = app.route
5
 
6
  style="""
7
+ #mapid { height: 480px; }
8
  """
9
 
10
  js = """
 
15
  maxZoom: 19,
16
  attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
17
  }).addTo(map);
18
+ //alert('loading...');
19
  }
20
+ setTimeout(load, 1000);
21
  """
22
 
23
  @rt('/')