More reloadable links
This commit is contained in:
parent
87ff346d7f
commit
be83844d28
2 changed files with 12 additions and 8 deletions
|
@ -785,6 +785,11 @@ math {
|
|||
z-index: 1000;
|
||||
}
|
||||
|
||||
select {
|
||||
visibility: hidden;
|
||||
max-height: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 500px) {
|
||||
#notification {
|
||||
margin-top: 0.6em;
|
||||
|
|
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue