Remove goog.isNull in pointereventhandler class

This commit is contained in:
Marc Jansen
2015-09-29 15:24:42 +02:00
parent 2b84e0f245
commit 7530e46cfa

View File

@@ -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);