Widget: Compass: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 676: | Line 676: | ||
if (answerId.indexOf('tech') !== -1) { | if (answerId.indexOf('tech') !== -1) { | ||
const enc = btoa(encodeURIComponent(JSON.stringify(act))); | const enc = btoa(encodeURIComponent(JSON.stringify(act))); | ||
window.location.assign('/index.php/List_of_Disaster_Community_Technologies' + (act ? '?do=' + enc : '')); | window.location.assign('/index.php/List_of_Disaster_Community_Technologies' + (act ? '?do=' + enc : '')); | ||
} | |||
if (answerId.indexOf('guide') !== -1) { | |||
window.location.assign('/index.php/List_of_Guidelines'); | |||
} | } | ||
if (answerId.indexOf('safe') !== -1) { | if (answerId.indexOf('safe') !== -1) { | ||
window.location.assign('/index.php/Feel_Safe'); | window.location.assign('/index.php/Feel_Safe'); | ||
} | |||
if (answerId.indexOf('handbook') !== -1) { | |||
window.location.assign('/index.php/Citizens_Handbook_-_Accessibility'); | |||
} | } | ||
} | } |
Revision as of 15:52, 24 November 2022
Development version of the Compass.
Not ready for production!