Widget: Compass: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 609: | Line 609: | ||
const handler = event => { | const handler = event => { | ||
const answerId = event.currentTarget.id; | const answerId = event.currentTarget.id; | ||
const | const act = actions[answerId]; | ||
if (!actions) return; | if (!actions) return; | ||
Line 616: | Line 616: | ||
// Action takes us to Tech Library | // Action takes us to Tech Library | ||
const str = JSON.stringify( | const str = JSON.stringify(act); | ||
const enc = btoa(encodeURIComponent(str)) | const enc = btoa(encodeURIComponent(str)) | ||
Revision as of 13:07, 24 November 2022
Development version of the Compass.
Not ready for production!