jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/396025 )

Change subject: ext.translate.mainpage.js: Use jquery.fn.on()
......................................................................


ext.translate.mainpage.js: Use jquery.fn.on()

Change the use of jquery.fn.hover() to jquery.fn.on()
due to deprecation of .hover() in
`resources/js/ext.translate.mainpage.js`

Bug: T177941
Change-Id: I5309d1537021796b9b77978edd9972f63501c288
---
M resources/js/ext.translate.mainpage.js
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  jenkins-bot: Verified
  Nikerabbit: Checked; Looks good to me, approved



diff --git a/resources/js/ext.translate.mainpage.js 
b/resources/js/ext.translate.mainpage.js
index 0cb236d..5d3e1ac 100644
--- a/resources/js/ext.translate.mainpage.js
+++ b/resources/js/ext.translate.mainpage.js
@@ -120,14 +120,14 @@
 
                showMessageGroupStats( selectedLanguage );
 
-               $tiles.hover(
-                       function () {
+               $tiles.on( {
+                       mouseenter: function () {
                                $( this ).find( '.project-actions' 
).removeClass( 'hide' );
                        },
-                       function () {
+                       mouseleave: function () {
                                $( this ).find( '.project-actions' ).addClass( 
'hide' );
                        }
-               );
+               } );
 
                $tiles.click( function () {
                        var url = $( this ).data( 'url' );

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5309d1537021796b9b77978edd9972f63501c288
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TwnMainPage
Gerrit-Branch: master
Gerrit-Owner: Rafidaslam <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to