Skip to content

Commit

Permalink
Undo
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Jul 12, 2023
1 parent f5919eb commit ff57746
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/factory/test/1/index.html.pug
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ block script
| nav.innerHTML = response.querySelector('nav').innerHTML;
| } else {
| document.title = 'Error 404';
| alert('Page not found.');
| main.innerHTML = '<h1>Error 404</h1><p>Page not found.</p>';
| target.style.textDecoration = 'line-through';
| target.removeAttribute('href');
| }
Expand Down
2 changes: 1 addition & 1 deletion test/1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h1>Home</h1>
nav.innerHTML = response.querySelector('nav').innerHTML;
} else {
document.title = 'Error 404';
alert('Page not found.');
main.innerHTML = '<h1>Error 404</h1><p>Page not found.</p>';
target.style.textDecoration = 'line-through';
target.removeAttribute('href');
}
Expand Down

0 comments on commit ff57746

Please sign in to comment.