Last modified: 2014-02-12 23:52:44 UTC
On index.php?title=Special:MobileOptions&returnto=Main+Page Latest Firefox, no matter if beta is enabled or not. function init() { enhanceElements(); if( document.activeElement && document.activeElement.id === 'search' ) { onfocus(); } function hideKeyboard() { document.getElementById( 'search' ).blur(); } document.getElementById( 'results' ).ontouchstart = hideKeyboard; <-- here printMessage( message( 'mobile-frontend-search-help' ) ); initClearSearch();
Makes sense. Good catch! We've removed search from the overlay pages. This would also apply to login page. The solution would be to update javascript mf-search.js to conditionally check for this. Will look into it tomorrow.
https://gerrit.wikimedia.org/r/31586
The fix actually had the effect of breaking search suggestions (dunno how I missed that during review.... stupid oversight). It looks like it's because you were doing document.getElementById( 'search' ), but that element doesn't seem to ever exist. This seems to resolve the problem: https://gerrit.wikimedia.org/r/#/c/31964/