Remove goog.isNull in pointereventhandler class
This commit is contained in:
1 parent
2b84e0f245
commit
7530e46cfa
1 file changed
+1
-1
@@ -366,7 +366,7 @@ ol.pointer.PointerEventHandler.prototype.enterOver =
|
||||
*/
|
||||
ol.pointer.PointerEventHandler.prototype.contains_ =
|
||||
function(container, contained) {
|
||||
if (goog.isNull(contained)) {
|
||||
if (!contained) {
|
||||
return false;
|
||||
}
|
||||
return goog.dom.contains(container, contained);
|
||||
|
||||
Reference in new issue
Block a user