Difference between revisions of "Widget:Compass"
From LINKS Community Center
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 16:52, 24 November 2022
Development version of the Compass.
Not ready for production!