Albert221 has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/400175 )

Change subject: Fix $.fn.hover deprecation error
......................................................................

Fix $.fn.hover deprecation error

Bug: T182758
Change-Id: I05cf001c7097f6bbf45108530c36d1099ffb861f
---
M modules/translation/ext.cx.translation.js
1 file changed, 2 insertions(+), 1 deletion(-)


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

diff --git a/modules/translation/ext.cx.translation.js 
b/modules/translation/ext.cx.translation.js
index 1d2823d..4275db7 100644
--- a/modules/translation/ext.cx.translation.js
+++ b/modules/translation/ext.cx.translation.js
@@ -358,7 +358,8 @@
        function getPlaceholder( sourceSectionId ) {
                return $( '<div>' )
                        .addClass( 'placeholder' )
-                       .hover( sectionMouseEnterHandler, 
sectionMouseLeaveHandler )
+                       .on( 'mouseenter', sectionMouseEnterHandler )
+                       .on( 'mouseleave', sectionMouseLeaveHandler )
                        .on( 'click', sectionClick )
                        .attr( {
                                id: 'cx' + sourceSectionId,

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

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

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

Reply via email to