loleaflet: forgot 'this' keyword

This commit is contained in:
Mihai Varga 2015-08-05 19:07:42 +03:00
parent c36bca17f5
commit 9d957ccafb

View file

@ -356,7 +356,7 @@ L.TileLayer = L.GridLayer.extend({
this._parts = 1;
this._currentPage = command.currentPart;
this._pages = command.parts;
map.fire('pagenumberchanged', {
this._map.fire('pagenumberchanged', {
currentPage: this._currentPage,
pages: this._pages,
docType: this._docType