From 6b7a3bb3bfcf5a482d4f34949f4d07d641ce4700 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Mon, 7 Jan 2013 13:14:32 +0100 Subject: [PATCH] Fix typecast in ol.Tile --- src/ol/tile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/tile.js b/src/ol/tile.js index a4cde0f0e1..c390db3bd5 100644 --- a/src/ol/tile.js +++ b/src/ol/tile.js @@ -96,7 +96,7 @@ ol.Tile.prototype.getImage = function(opt_context) { } else if (goog.object.isEmpty(this.imageByContext_)) { image = this.image_; } else { - image = /** @type {Image} */ this.image_.cloneNode(false); + image = /** @type {Image} */ (this.image_.cloneNode(false)); } this.imageByContext_[key] = image; return image;