Skip to content

Commit

Permalink
make PhantomJS test happy
Browse files Browse the repository at this point in the history
was: PhantomJS 2.1.1 (Windows 8.0.0) Popup should take into account icon popupAnchor option on non-any3d browsers FAILED
  • Loading branch information
johndoe committed Apr 18, 2019
1 parent 75300fb commit 444ef1f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/layer/DivOverlay.js
Expand Up @@ -176,10 +176,9 @@ export var DivOverlay = Layer.extend({
},

_hasContentFor: function (layer) {
return this._content &&
(typeof this._content !== 'function' ||
this._content(layer || this));
return typeof this._content !== 'function' || this._content(layer || this);
},

_updatePosition: function () {
if (!this._map) { return; }

Expand Down

0 comments on commit 444ef1f

Please sign in to comment.