Amire80 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/148316

Change subject: Allow link, dictionary and MT cards to appear together
......................................................................

Allow link, dictionary and MT cards to appear together

Change-Id: If9650bb580b01c7e48c1d46ca6e51cf08640b011
---
M modules/tools/ext.cx.tools.mt.js
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation 
refs/changes/16/148316/1

diff --git a/modules/tools/ext.cx.tools.mt.js b/modules/tools/ext.cx.tools.mt.js
index 1b470fd..1937019 100644
--- a/modules/tools/ext.cx.tools.mt.js
+++ b/modules/tools/ext.cx.tools.mt.js
@@ -343,6 +343,8 @@
 
        MTControlCard.prototype.getTriggerEvents = function () {
                return [
+                       'mw.cx.select.word',
+                       'mw.cx.select.link',
                        'mw.cx.translation.focus'
                ];
        };

-- 
To view, visit https://gerrit.wikimedia.org/r/148316
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If9650bb580b01c7e48c1d46ca6e51cf08640b011
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Amire80 <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to