Remove remaining goog.isDef() calls

This commit is contained in:
Tim Schaub
2015-09-27 11:13:58 -06:00
parent c48ce003ba
commit 29a1ea9ae3
7 changed files with 31 additions and 18 deletions
+1 -1
View File
@@ -297,7 +297,7 @@ ol.Overlay.prototype.handleOffsetChanged = function() {
*/
ol.Overlay.prototype.handlePositionChanged = function() {
this.updatePixelPosition();
if (goog.isDef(this.get(ol.OverlayProperty.POSITION)) && this.autoPan) {
if (this.get(ol.OverlayProperty.POSITION) !== undefined && this.autoPan) {
this.panIntoView_();
}
};