Remove unneeded comments and use ol.global

This commit is contained in:
Nicholas L
2016-06-20 21:41:20 +12:00
parent ea1c7a6551
commit 0fef14137c
7 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -429,7 +429,7 @@ ol.renderer.webgl.Map.prototype.renderFrame = function(frameState) {
if (!frameState) {
if (this.renderedVisible_) {
this.canvas_.style.display = 'none'; //Hide the element
this.canvas_.style.display = 'none';
this.renderedVisible_ = false;
}
return false;
@@ -485,7 +485,7 @@ ol.renderer.webgl.Map.prototype.renderFrame = function(frameState) {
}
if (!this.renderedVisible_) {
this.canvas_.style.display = ''; //Show the element
this.canvas_.style.display = '';
this.renderedVisible_ = true;
}