File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ function loadFromJSON(url) {
277277 setTimeout ( function ( ) {
278278 addTitleAndDescription ( )
279279 document . getElementsByClassName ( "labeled-map" ) [ 0 ] . innerHTML = `<img id="main_map" hidden="true" src="/images/maps/${ imgUrlLabeled } .png" onload="mapLoaded()">`
280- } , 300 ) ;
280+ } , 0 ) ;
281281 // mapLoaded() // img does it instead
282282 } )
283283
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ function loadFromJSON(url) {
237237 // let imageURL = "/images/maps/" + quizName + ".png"
238238 setTimeout ( function ( ) {
239239 document . getElementById ( "cool-image" ) . innerHTML = '<img id="main_map" hidden="true" src="' + imageURL + '" alt="" usemap="#map-area" class="map" onload="mapLoaded()"/>'
240- } , 300 ) ;
240+ } , 0 ) ;
241241 } )
242242
243243 . fail ( function ( ) {
You can’t perform that action at this time.
0 commit comments