@@ -1,5 +1,4 @@
|
||||
"use strict";
|
||||
let EXPORTED_SYMBOLS = ["EPL"];
|
||||
|
||||
let EPL = {
|
||||
|
||||
@@ -11,6 +10,10 @@ let EPL = {
|
||||
|
||||
let contfrag = document.createRange().createContextualFragment(template);
|
||||
let page = document.getElementById("page");
|
||||
// Limpiar solo contenido dinámico, mantener cabecera
|
||||
Array.from(page.children).forEach(child => {
|
||||
if (!child.classList.contains('amo-header')) child.remove();
|
||||
});
|
||||
let frag = contfrag.firstElementChild;
|
||||
page.appendChild(frag);
|
||||
},
|
||||
@@ -76,7 +79,7 @@ let EPL = {
|
||||
<h2>%TYPE%</h2>
|
||||
%LICNAME%
|
||||
<div class="policy-statement">%CONTENT%</div>
|
||||
<p class="policy-back"><a href="caa:addon/%SLUG%">Back to %NAME%…</a></p>
|
||||
<p class="policy-back"><a href="#addon/%SLUG%">Back to %NAME%…</a></p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
Referencia en una nueva incidencia
Block a user