leaflet-rails 0.6.3 → 0.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  module Leaflet
2
2
  module Rails
3
- VERSION = "0.6.3"
3
+ VERSION = "0.6.4"
4
4
  end
5
5
  end
@@ -7,7 +7,7 @@
7
7
  var oldL = window.L,
8
8
  L = {};
9
9
 
10
- L.version = '0.6.3';
10
+ L.version = '0.6.4';
11
11
 
12
12
  // define Leaflet for Node module pattern loaders, including Browserify
13
13
  if (typeof module === 'object' && typeof module.exports === 'object') {
@@ -1844,8 +1844,8 @@ L.Map = L.Class.extend({
1844
1844
  },
1845
1845
 
1846
1846
  getMinZoom: function () {
1847
- var z1 = this._layersMinZoom === undefined ? -Infinity : this._layersMinZoom,
1848
- z2 = this._boundsMinZoom === undefined ? -Infinity : this._boundsMinZoom;
1847
+ var z1 = this._layersMinZoom === undefined ? 0 : this._layersMinZoom,
1848
+ z2 = this._boundsMinZoom === undefined ? 0 : this._boundsMinZoom;
1849
1849
  return this.options.minZoom === undefined ? Math.max(z1, z2) : this.options.minZoom;
1850
1850
  },
1851
1851
 
@@ -7497,7 +7497,7 @@ L.Map.Keyboard = L.Handler.extend({
7497
7497
  var body = document.body,
7498
7498
  docEl = document.documentElement,
7499
7499
  top = body.scrollTop || docEl.scrollTop,
7500
- left = body.scrollTop || docEl.scrollLeft;
7500
+ left = body.scrollLeft || docEl.scrollLeft;
7501
7501
 
7502
7502
  this._map._container.focus();
7503
7503
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leaflet-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: