This commit is contained in:
Laura Klünder 2018-12-23 16:59:18 +01:00
parent 84ceb344bc
commit 3361f931c4

View file

@ -1684,7 +1684,7 @@ L.SquareGridLayer = L.Layer.extend({
},
_updateGrid: function(map) {
if (!this.cols || this.cols.length == 0) return;
if (!this.cols || this.cols.length === 0) return;
var mapSize = map.getSize(),
sidebarStart = $('#sidebar').outerWidth() + 15,
searchHeight = $('#search').outerHeight() + 10,