Fomafix has uploaded a new change for review. ( 
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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate 
refs/changes/85/344485/1

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: newchange
Gerrit-Change-Id: I2e7c6bb81f03f59840310a5cd08519c268d47dc3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Fomafix <[email protected]>

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

Reply via email to