X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=js%2Futil.js;h=6a1eb82b2e04139b6aed977a773be0cdb1cf4f2b;hb=3f8a519980ac6db69465ad64e9c36000619f18cf;hp=9c727e9a5376b2cde9d5d9a2418ea57988dc6af0;hpb=2b93643277d4198f6b4eedc918790549a914adac;p=quix0rs-gnu-social.git diff --git a/js/util.js b/js/util.js index 9c727e9a53..6a1eb82b2e 100644 --- a/js/util.js +++ b/js/util.js @@ -1580,7 +1580,7 @@ var SN = { // StatusNet // don't navigate away from the field on tab when selecting an item txtBox.on( "keydown", function ( event ) { if ( event.keyCode === $.ui.keyCode.TAB && - $(this).data( "autocomplete" ).menu.active ) { + $(this).data( "ui-autocomplete" ).menu.active ) { event.preventDefault(); } }).autocomplete({ @@ -1601,7 +1601,7 @@ var SN = { // StatusNet this.value = terms.join(" "); return false; } - }).data('autocomplete')._renderItem = function (ul, item) { + }).data('ui-autocomplete')._renderItem = function (ul, item) { // FIXME: with jQuery UI you cannot have it highlight the match var _l = '' + item.tag + ' ' + item.mode + ''