Skip to content

Commit

Permalink
deploy: 81736df
Browse files Browse the repository at this point in the history
  • Loading branch information
erseco committed Apr 11, 2024
1 parent 9e14de7 commit 6e865b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js"></script>


<link rel="stylesheet" href="style.css?v=1704750231">
<link rel="stylesheet" href="style.css?v=1712829317">

</head>
<body>
Expand Down Expand Up @@ -233,5 +233,5 @@ <h5 class="modal-title" id="mobileWarningModalLabel">Advertencia</h5>
<!-- Bootstrap 5 JS Bundle (incluye Popper) -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>

<script type="text/javascript" src="script.js?v=1704750231"></script>
<script type="text/javascript" src="script.js?v=1712829317"></script>
</html>
6 changes: 3 additions & 3 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ function fillTable(data) {
}

// Obtener el valor del parámetro 's'
var paramValue = getParameterByName('s');
var paramValue = getParameterByName('c');

// Verificar si el parámetro existe
if (paramValue) {
Expand Down Expand Up @@ -257,7 +257,7 @@ function loadData(url, callback) {
}

// Cargando datos del yml:
loadData('mrcdd.yml?v=1704750231', fillTable);
loadData('mrcdd.yml?v=1712829317', fillTable);

// Mostrar el modal
const generarBtn = document.querySelector('.btn-generar');
Expand Down Expand Up @@ -300,7 +300,7 @@ shareBtn.addEventListener('click', () => {
});

// Construir la URL
var url = window.location.href.split('?')[0] + '?s=' + checkedValues.join('|');
var url = window.location.href.split('?')[0] + '?c=' + checkedValues.join('|');

// Copiar la URL al portapapeles
// Actualizar el atributo data-clipboard-text del botón con la URL
Expand Down

0 comments on commit 6e865b8

Please sign in to comment.