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

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: I2e7c6bb81f03f59840310a5cd08519c268d47dc3
---
M resources/js/jquery.textchange.js
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/resources/js/jquery.textchange.js 
b/resources/js/jquery.textchange.js
index 047d8ce..5f145f0 100644
--- a/resources/js/jquery.textchange.js
+++ b/resources/js/jquery.textchange.js
@@ -18,7 +18,7 @@
                },
 
                teardown: function () {
-                       $( this ).unbind( '.textchange' );
+                       $( this ).off( '.textchange' );
                },
 
                handler: function () {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2e7c6bb81f03f59840310a5cd08519c268d47dc3
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Fomafix <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to