From b6fc9d921709276ad20aa8815e7fd1531f8489c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Inez=20Korczyn=CC=81ski?= Date: Mon, 17 Jun 2013 13:50:47 -0700 Subject: [PATCH] Added ve.ce.FocusableNode mixin to ve.ce.MWReferenceListNode So its selection looks better after a user clicks on it Change-Id: I4343a67d7b488c42e40270d25b9b4104a07872fb --- modules/ve/ce/nodes/ve.ce.MWReferenceListNode.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/ve/ce/nodes/ve.ce.MWReferenceListNode.js b/modules/ve/ce/nodes/ve.ce.MWReferenceListNode.js index f8ab16ba94..4ff16b54df 100644 --- a/modules/ve/ce/nodes/ve.ce.MWReferenceListNode.js +++ b/modules/ve/ce/nodes/ve.ce.MWReferenceListNode.js @@ -22,6 +22,7 @@ ve.ce.MWReferenceListNode = function VeCeMWReferenceListNode( model, config ) { // Mixin constructors ve.ce.ProtectedNode.call( this ); + ve.ce.FocusableNode.call( this ); // DOM Changes this.$.addClass( 've-ce-mwReferenceListNode', 'reference' ) @@ -43,6 +44,8 @@ ve.inheritClass( ve.ce.MWReferenceListNode, ve.ce.LeafNode ); ve.mixinClass( ve.ce.MWReferenceListNode, ve.ce.ProtectedNode ); +ve.mixinClass( ve.ce.MWReferenceListNode, ve.ce.FocusableNode ); + /* Static Properties */ ve.ce.MWReferenceListNode.static.name = 'mwReferenceList';