Skip to content

Commit

Permalink
fix deploy error
Browse files Browse the repository at this point in the history
  • Loading branch information
Arejula11 committed Apr 2, 2024
1 parent 7b115c4 commit 0120a69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion playbeat/src/pages/creator/estadisticas.astro
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const canciones = [
document.addEventListener("DOMContentLoaded", function() {
var rows = document.querySelectorAll("tbody tr");
rows.forEach(function(row) {
row.addEventListener("click", function() {
row.addEventListener("click", function(this: HTMLElement) {
var url = this.getAttribute("data-url");
if (url) {
window.location.href = url;
Expand Down
2 changes: 1 addition & 1 deletion playbeat/src/pages/creator/tusaudios.astro
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const canciones: Audio[] = [
document.addEventListener("DOMContentLoaded", function() {
var rows = document.querySelectorAll("tbody tr");
rows.forEach(function(row) {
row.addEventListener("click", function() {
row.addEventListener("click", function(this: HTMLElement) {
var url = this.getAttribute("data-url");
if (url) {
window.location.href = url;
Expand Down

0 comments on commit 0120a69

Please sign in to comment.