===
This commit is contained in:
parent
84ceb344bc
commit
3361f931c4
1 changed files with 1 additions and 1 deletions
|
@ -1684,7 +1684,7 @@ L.SquareGridLayer = L.Layer.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
_updateGrid: function(map) {
|
_updateGrid: function(map) {
|
||||||
if (!this.cols || this.cols.length == 0) return;
|
if (!this.cols || this.cols.length === 0) return;
|
||||||
var mapSize = map.getSize(),
|
var mapSize = map.getSize(),
|
||||||
sidebarStart = $('#sidebar').outerWidth() + 15,
|
sidebarStart = $('#sidebar').outerWidth() + 15,
|
||||||
searchHeight = $('#search').outerHeight() + 10,
|
searchHeight = $('#search').outerHeight() + 10,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue