diff options
Diffstat (limited to 'www/wiki/extensions/Translate/resources/js/jquery.textchange.js')
-rw-r--r-- | www/wiki/extensions/Translate/resources/js/jquery.textchange.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/wiki/extensions/Translate/resources/js/jquery.textchange.js b/www/wiki/extensions/Translate/resources/js/jquery.textchange.js index dcf7ef02..65886c43 100644 --- a/www/wiki/extensions/Translate/resources/js/jquery.textchange.js +++ b/www/wiki/extensions/Translate/resources/js/jquery.textchange.js @@ -5,7 +5,7 @@ * @author Santhosh Thottingal, 2013 * @see https://gist.github.com/mkelly12/424774 */ -( function ( $ ) { +( function () { 'use strict'; $.event.special.textchange = { @@ -18,7 +18,7 @@ }, teardown: function () { - $( this ).unbind( '.textchange' ); + $( this ).off( '.textchange' ); }, handler: function () { @@ -41,4 +41,4 @@ } }; -} )( jQuery ); +}() ); |