mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-09-24 10:48:29 +00:00
Disable auto-capitalization hint on search field of wikis with $wgCapitalLinks = false
Pass the value of autocapitalize to the SearchOverlay in MobileFrontend Depends-On: I98ea142b2b39d699bb144eb528b12a5a4dcd0667 Bug: T251664 Change-Id: I082233fd5ac0a5d6d88794ef7cf4b1b13f43c708
This commit is contained in:
parent
5be882421d
commit
9ea73b920e
|
@ -40,6 +40,7 @@ module.exports = function () {
|
|||
router: overlayManager.router,
|
||||
gatewayClass: SearchGateway,
|
||||
api: new mw.Api(),
|
||||
autocapitalize: $searchInput.prop( 'autocapitalize' ),
|
||||
searchTerm: $searchInput.val(),
|
||||
placeholderMsg: placeholder,
|
||||
defaultSearchPage: defaultSearchPage
|
||||
|
|
Loading…
Reference in a new issue