mirror of
https://github.com/discourse/discourse.git
synced 2025-02-12 06:14:54 +00:00
Should fix an iOS regression in f5e8e73. iOS does not pull up the keyboard if the `.focus()` call is delayed by a rendering timeout or an asynchronous ajax call. This PR adds earlier `.focus()` calls if the input element is present.