Revert recent feature and fix it
This commit is contained in:
@@ -269,11 +269,15 @@ $(document).ready(function() {
|
||||
});
|
||||
if (lastChallenge.length) {
|
||||
lastChallenge = lastChallenge[lastChallenge.length - 1];
|
||||
var scrollTo = $(lastChallenge).offset().top - 400;
|
||||
$('.map-accordion').scrollTop(scrollTo);
|
||||
var scrollTo = $(lastChallenge).offset().top - 380;
|
||||
$('html, body, .map-accordion').scrollTop(scrollTo);
|
||||
}
|
||||
}
|
||||
|
||||
if (String(window.location).match(/\/map$/ig)) {
|
||||
$('.text-center').css('top', '50px');
|
||||
}
|
||||
|
||||
// map
|
||||
$('#nav-map-btn').on('click', () => {
|
||||
if (!main.isMapAsideLoad) {
|
||||
|
Reference in New Issue
Block a user