Replace deprecated jQuery bind() with on()
[lhc/web/wiklou.git] / resources / src / mediawiki / mediawiki.searchSuggest.js
index cbbd254..fa1a78c 100644 (file)
                                cache: true,
                                highlightInput: true
                        } )
-                       .bind( 'paste cut drop', function () {
+                       .on( 'paste cut drop', function () {
                                // make sure paste and cut events from the mouse and drag&drop events
                                // trigger the keypress handler and cause the suggestions to update
                                $( this ).trigger( 'keypress' );