Difference between revisions of "Widget:Compass"

From LINKS Community Center
Jump to: navigation, search
Line 609: Line 609:
 
         const handler = event => {
 
         const handler = event => {
 
             const answerId = event.currentTarget.id;
 
             const answerId = event.currentTarget.id;
             const actions = actions[answerId];
+
             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(actions);
+
                 const str = JSON.stringify(act);
 
                 const enc = btoa(encodeURIComponent(str))
 
                 const enc = btoa(encodeURIComponent(str))
  

Revision as of 14:07, 24 November 2022

Development version of the Compass.
Not ready for production!