app/assets/javascripts/users.js
Function initUserMap
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function initUserMap() {
var latitude, longitude;
$('.user-map-trigger').on('click', function() {
latitude = $(this).data("latitude")
longitude = $(this).data("longitude")