Ignore:
Timestamp:
08/07/2026 07:01:20 PM (5 weeks ago)
Author:
Robin <roboburr@…>
Branches:
main
Children:
a66266d
Parents:
7df47b6 (diff), a8364ee (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/main' into feature/playlists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/assets/js/mod/authorize-interaction.js

    r7df47b6 ra39c9bd  
    88// er nu staat) en tegen een tweede aanroep te kunnen.
    99
     10// Element-bedrading leeft zo lang als de pagina; de bootstrap roept init()
     11// aan bij elke paginawissel waarop deze module actief is (shaer-5s1).
     12export function init() { run(); }
     13
     14function run() {
    1015    (function () {
    11       if (window.__fediBmWired) return; window.__fediBmWired = true;
    12       var a = document.getElementById('fedi-bm-btn'); if (!a) return;
     16      // Element-vlag, geen window-vlag: na een swap is de knop een NIEUW element
     17      // en moet hij opnieuw bedraad; een window-vlag zou dat voorgoed blokkeren.
     18      var a = document.getElementById('fedi-bm-btn'); if (!a || a.__wired) return; a.__wired = true;
    1319      a.setAttribute('href', "javascript:void(window.open('" + location.origin + "/authorize_interaction?uri='+encodeURIComponent(window.location.href)))");
    1420      a.addEventListener('click', function (e) { e.preventDefault(); a.classList.add('nudge'); setTimeout(function(){ a.classList.remove('nudge'); }, 600); });
     
    6066  });
    6167})();
     68}
Note: See TracChangeset for help on using the changeset viewer.