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;
|
z-index: 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
select {
|
||||||
|
visibility: hidden;
|
||||||
|
max-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 500px) {
|
@media (max-width: 500px) {
|
||||||
#notification {
|
#notification {
|
||||||
margin-top: 0.6em;
|
margin-top: 0.6em;
|
||||||
|
|
|
@ -75,14 +75,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function registerNavigation() {
|
function registerNavigation() {
|
||||||
$('.pagination a').on('click', function(e) {
|
const links = ['.pagination a', '.tabs a', '.problem-feed-option a'];
|
||||||
e.preventDefault();
|
for (link of links) {
|
||||||
navigateTo($(this));
|
$(link).on('click', function(e) {
|
||||||
})
|
e.preventDefault();
|
||||||
$('.tabs a').on('click', function(e) {
|
navigateTo($(this));
|
||||||
e.preventDefault();
|
})
|
||||||
navigateTo($(this));
|
}
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$(function () {
|
$(function () {
|
||||||
|
|
Loading…
Reference in a new issue