Using radix parameter to make linter happy
This commit is contained in:
@@ -793,8 +793,8 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
|
||||
setTileSize: function(size) {
|
||||
if (this.singleTile) {
|
||||
size = this.map.getSize();
|
||||
size.h = parseInt(size.h * this.ratio);
|
||||
size.w = parseInt(size.w * this.ratio);
|
||||
size.h = parseInt(size.h * this.ratio, 10);
|
||||
size.w = parseInt(size.w * this.ratio, 10);
|
||||
}
|
||||
OpenLayers.Layer.HTTPRequest.prototype.setTileSize.apply(this, [size]);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user