Difference between revisions of "Widget:Compass"

From LINKS Community Center
Jump to: navigation, search
Line 615: Line 615:
 
             if (answerId.indexOf('tech') !== -1) {
 
             if (answerId.indexOf('tech') !== -1) {
 
                 // Action takes us to Tech Library
 
                 // Action takes us to Tech Library
 
+
                 const enc = btoa(encodeURIComponent(JSON.stringify(act)));
                 const str = JSON.stringify(act);
+
                 window.location.assign('/index.php/List_of_Disaster_Community_Technologies?action=' + enc);
                const enc1 = btoa(encodeURIComponent(str));
 
                 const enc2 = btoa(unescape(encodeURIComponent(str)))
 
 
 
                console.log(enc1)
 
                console.log(enc2)
 
 
             }
 
             }
 
         }
 
         }

Revision as of 14:26, 24 November 2022

Development version of the Compass.
Not ready for production!