16,798
edits
mNo edit summary |
mNo edit summary |
||
Line 11: | Line 11: | ||
} | } | ||
mw.hook('wikipage.collapsibleContent').add(mwCollapsibleSetup); | mw.hook('wikipage.collapsibleContent').add(mwCollapsibleSetup); | ||
/* Fix search suggestions on mobile devices */ | |||
$(function() { | |||
$('#searchInput').on('input', function(e) { | |||
$(this).trigger(jQuery.Event('keydown', { | |||
keyCode: e.keyCode, | |||
which: e.which | |||
})); | |||
$(this).trigger(jQuery.Event('keypress', { | |||
keyCode: e.keyCode, | |||
which: e.which | |||
})); | |||
}); | |||
}); | |||
/* Clean-up Unicode */ | /* Clean-up Unicode */ |