clang-format core/keyboard_nav/tab_navigate_cursor.js

This commit is contained in:
kozbial
2021-07-20 16:47:41 -07:00
committed by Monica Kozbial
parent 9a6a92bf52
commit ecec6daf80

View File

@@ -41,8 +41,8 @@ TabNavigateCursor.prototype.validNode_ = function(node) {
const type = node && node.getType();
if (node) {
const location = /** @type {Field} */ (node.getLocation());
if (type == ASTNode.types.FIELD &&
location && location.isTabNavigable() && location.isClickable()) {
if (type == ASTNode.types.FIELD && location && location.isTabNavigable() &&
location.isClickable()) {
isValid = true;
}
}