jenkins-bot has submitted this change and it was merged.

Change subject: Remove unwanted link highlight code from translation module
......................................................................


Remove unwanted link highlight code from translation module

The links are highlighted using blue colors and not with yellow.
The highlighting code is present in links module.
This is old code left in translation module.

Change-Id: I4d78b6a62f8e2b962d35fcd5ffc07979dcd89b53
---
M modules/translation/ext.cx.translation.js
1 file changed, 0 insertions(+), 6 deletions(-)

Approvals:
  Amire80: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/translation/ext.cx.translation.js 
b/modules/translation/ext.cx.translation.js
index e64f469..00d1f9f 100644
--- a/modules/translation/ext.cx.translation.js
+++ b/modules/translation/ext.cx.translation.js
@@ -137,12 +137,6 @@
                        }
                } );
 
-               // Highlight corresponding links in source and translation 
columns
-               this.$container.on( 'mouseenter mouseleave', 'a', function () {
-                       $( '[data-linkid="' + $( this ).data( 'linkid' ) + '"]' 
)
-                               .toggleClass( 'cx-highlight' );
-               } );
-
                // Highlight segment pairs
                this.$container.on( 'mouseenter mouseleave', '.cx-segment', 
function () {
                        var $segment = $( this ),

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4d78b6a62f8e2b962d35fcd5ffc07979dcd89b53
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com>
Gerrit-Reviewer: Amire80 <amir.ahar...@mail.huji.ac.il>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to