Skip to content

Commit

Permalink
Typo and finessing
Browse files Browse the repository at this point in the history
  • Loading branch information
adrntll committed Sep 25, 2015
1 parent f9f370c commit 83df146
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions js/slt-cf-gmaps.js
Expand Up @@ -358,7 +358,7 @@



// HIDE AND SHOW MAPS
// HIDE AND SHOW MAPS

// Wait for the document to load
jQuery( document ).ready( function( $ ) {
Expand All @@ -368,7 +368,7 @@

// Set the map container id and wrapper selector
var map_container_id = $(this).attr('data-map-id');
var map_wrapper_selector = '#' + $(this).attr('data-map-id') + '_wrapper';
var map_wrapper_selector = '#' + map_container_id + '_wrapper';

// If it's the "yes" button
if ($(this).hasClass('yes')) {
Expand All @@ -381,7 +381,7 @@
// Get the map's intended center
var mapCenter = slt_cf_maps[map_container_id].map.getCenter();

// Trigget the map resize event to fill the wrapper
// Trigger the map resize event to fill the wrapper
google.maps.event.trigger( slt_cf_maps[map_container_id].map, "resize" );

// Reset the map center with the new bounds
Expand Down
2 changes: 1 addition & 1 deletion js/slt-cf-gmaps.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 83df146

Please sign in to comment.