File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ export class FocusManager {
224224 */
225225 focusNode ( focusableNode : IFocusableNode ) : void {
226226 this . ensureManagerIsUnlocked ( ) ;
227- if ( this . focusedNode == focusableNode ) return ; // State is unchanged.
227+ if ( this . focusedNode === focusableNode ) return ; // State is unchanged.
228228
229229 const nextTree = focusableNode . getFocusableTree ( ) ;
230230 if ( ! this . isRegistered ( nextTree ) ) {
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export interface IFocusableNode {
3232 *
3333 * It's expected the actual returned element will not change for the lifetime
3434 * of the node (that is, its properties can change but a new element should
35- * never be returned.)
35+ * never be returned).
3636 */
3737 getFocusableElement ( ) : HTMLElement | SVGElement ;
3838
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export interface IFocusableTree {
3939
4040 /**
4141 * Returns the IFocusableNode of this tree that should receive active focus
42- * when the tree itself has focused returned to it.
42+ * when the tree itself has focus returned to it.
4343 *
4444 * There are some very important notes to consider about a tree's focus
4545 * lifecycle when implementing a version of this method that doesn't return
You can’t perform that action at this time.
0 commit comments