|
@@ -71,8 +71,6 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
$(function(){
|
|
$(function(){
|
|
|
$(window).scroll(function() {
|
|
$(window).scroll(function() {
|
|
|
- console.log($(this).scrollTop());
|
|
|
|
|
- console.log(menuTop);
|
|
|
|
|
if ($(this).scrollTop() >= menuTop) {
|
|
if ($(this).scrollTop() >= menuTop) {
|
|
|
$('#menu').addClass('sticky');
|
|
$('#menu').addClass('sticky');
|
|
|
}
|
|
}
|
|
@@ -93,7 +91,6 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
if ($('#login-popup').find('.alert').length) {
|
|
if ($('#login-popup').find('.alert').length) {
|
|
|
$('#login-popup .popup-form').toggleClass("show");
|
|
$('#login-popup .popup-form').toggleClass("show");
|
|
|
- console.log('')
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// **** Forms ****
|
|
// **** Forms ****
|
|
@@ -155,8 +152,6 @@ $(document).ready(function(){
|
|
|
var eventMap = L.map('event-map', mapOptions);
|
|
var eventMap = L.map('event-map', mapOptions);
|
|
|
eventMap.setView([events[0].lat, events[0].long], initialZoom);
|
|
eventMap.setView([events[0].lat, events[0].long], initialZoom);
|
|
|
|
|
|
|
|
- console.log([events[0].lat, events[0].long]);
|
|
|
|
|
-
|
|
|
|
|
// Add the tile layer
|
|
// Add the tile layer
|
|
|
L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}', {
|
|
L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}', {
|
|
|
maxZoom: 18,
|
|
maxZoom: 18,
|