2020-06-12 20:03:43 +00:00
|
|
|
<%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
|
|
|
|
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>
|
2018-03-25 17:30:42 +00:00
|
|
|
<script>
|
|
|
|
(function() {
|
|
|
|
if(document.querySelector('.commitchange-donate[data-fixed]')) return;
|
|
|
|
var cc_donate = document.createElement('div');
|
|
|
|
cc_donate.innerHTML = "<a data-fixed class='commitchange-donate'></a>";
|
|
|
|
document.body.appendChild(cc_donate);
|
|
|
|
var npo = 1;
|
|
|
|
var script = document.createElement('script');
|
|
|
|
var first = document.getElementsByTagName('script')[0];
|
|
|
|
script.setAttribute('data-npo-id', npo);
|
|
|
|
script.id = 'commitchange-script';
|
|
|
|
script.src = '/js/donate-button.v2.js';
|
|
|
|
first.parentNode.insertBefore(script, first);
|
|
|
|
})();
|
|
|
|
</script>
|