DLynch has uploaded a new change for review.
https://gerrit.wikimedia.org/r/274145
Change subject: FocusableNode: forcibly update the active link on click
......................................................................
FocusableNode: forcibly update the active link on click
Selecting a focusable node doesn't update the active link. So manually ask
for that to happen.
Bug: T114912
Change-Id: I5d30ae07ad9d0d1de8248543ce1b17ba3fc8fb1a
---
M src/ce/ve.ce.FocusableNode.js
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor
refs/changes/45/274145/1
diff --git a/src/ce/ve.ce.FocusableNode.js b/src/ce/ve.ce.FocusableNode.js
index fb131d4..69e0cfb 100644
--- a/src/ce/ve.ce.FocusableNode.js
+++ b/src/ce/ve.ce.FocusableNode.js
@@ -257,6 +257,7 @@
) :
nodeRange
).select();
+ node.focusableSurface.updateActiveLink();
} );
};
--
To view, visit https://gerrit.wikimedia.org/r/274145
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5d30ae07ad9d0d1de8248543ce1b17ba3fc8fb1a
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: DLynch <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits