Fomafix has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/344481 )
Change subject: Replace deprecated jQuery .unbind() by .off() ...................................................................... Replace deprecated jQuery .unbind() by .off() jQuery .unbind() is deprecated since jQuery 3.0. https://api.jquery.com/unbind/ Change-Id: I0d50d4c236f4a0694af06bf5652f775864eb2472 --- M modules/translation/ext.cx.translation.js 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation refs/changes/81/344481/1 diff --git a/modules/translation/ext.cx.translation.js b/modules/translation/ext.cx.translation.js index f2e2d51..157904e 100644 --- a/modules/translation/ext.cx.translation.js +++ b/modules/translation/ext.cx.translation.js @@ -207,7 +207,7 @@ mw.hook( 'mw.cx.translation.focus' ).fire( $section ); // Translation filled up. Unbind click handler for the source section. - $sourceSection.unbind( 'click', sourceSectionClickHandler ); + $sourceSection.off( 'click', sourceSectionClickHandler ); // From now on, clicking on the source section // has the same effect as clicking the target section -- To view, visit https://gerrit.wikimedia.org/r/344481 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0d50d4c236f4a0694af06bf5652f775864eb2472 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ContentTranslation Gerrit-Branch: master Gerrit-Owner: Fomafix <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
