mhawksey / wp-evidence-hub

OER Research Hub - WordPress plugin
6 stars 1 forks source link

Javascript error in OER Survey Data Exploratorium " usMapData is not defined" #17

Open nfreear opened 10 years ago

nfreear commented 10 years ago

Note, I'm seeing this in Chrome browser etc. before I try a fix for #15!

Error reported in JS console:

Uncaught ReferenceError: usMapData is not defined   (index):764
(anonymous function)                            (index):764
n.event.dispatch                                jquery.js?ver=1.11.0:3
r.handle                                        jquery.js?ver=1.11.0:3

Relevant Javascript (in PHP) line -- shortcodes/class-survey_explorer.php#L537

usMap.draw(usMapData, optionsUS);
nfreear commented 10 years ago