More reloadable links

This commit is contained in:
cuom1999 2022-12-16 05:11:24 -06:00
parent 87ff346d7f
commit be83844d28
2 changed files with 12 additions and 8 deletions

View file

@ -785,6 +785,11 @@ math {
z-index: 1000;
}
select {
visibility: hidden;
max-height: 0;
}
@media (max-width: 500px) {
#notification {
margin-top: 0.6em;

View file

@ -75,14 +75,13 @@
}
function registerNavigation() {
$('.pagination a').on('click', function(e) {
e.preventDefault();
navigateTo($(this));
})
$('.tabs a').on('click', function(e) {
e.preventDefault();
navigateTo($(this));
})
const links = ['.pagination a', '.tabs a', '.problem-feed-option a'];
for (link of links) {
$(link).on('click', function(e) {
e.preventDefault();
navigateTo($(this));
})
}
}
$(function () {