diff --git a/core/keyboard_nav/basic_cursor.js b/core/keyboard_nav/basic_cursor.js index 9260fa62a..e9780e119 100644 --- a/core/keyboard_nav/basic_cursor.js +++ b/core/keyboard_nav/basic_cursor.js @@ -169,12 +169,9 @@ BasicCursor.prototype.getPreviousNode_ = function(node, isValid) { BasicCursor.prototype.validNode_ = function(node) { let isValid = false; const type = node && node.getType(); - if (type == ASTNode.types.OUTPUT || - type == ASTNode.types.INPUT || - type == ASTNode.types.FIELD || - type == ASTNode.types.NEXT || - type == ASTNode.types.PREVIOUS || - type == ASTNode.types.WORKSPACE) { + if (type == ASTNode.types.OUTPUT || type == ASTNode.types.INPUT || + type == ASTNode.types.FIELD || type == ASTNode.types.NEXT || + type == ASTNode.types.PREVIOUS || type == ASTNode.types.WORKSPACE) { isValid = true; } return isValid; @@ -217,8 +214,6 @@ BasicCursor.prototype.getRightMostChild_ = function(node) { return this.getRightMostChild_(newNode); }; -register( - Type.CURSOR, BasicCursor.registrationName, - BasicCursor); +register(Type.CURSOR, BasicCursor.registrationName, BasicCursor); exports = BasicCursor;