Removed unnecessary null check (#6841)

This commit is contained in:
Jim committed 2016-05-23 11:25:02 -07:00
1 parent c136369a81
commit 799eae2faf
1 file changed
+1 -1
@@ -26,7 +26,7 @@ var UIEventInterface = {
}
var target = getEventTarget(event);
if (target != null && target.window === target) {
if (target.window === target) {
// target is a window object
return target;
}