Skip to content

Commit 7f4d3cd

Browse files
author
scottjehl
committed
fixed a docs typo in preventFocusZoom option for selects
1 parent 9183d54 commit 7f4d3cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/forms/selects/options.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ <h2>Select menus</h2>
106106
<dt><code>preventFocusZoom</code> <em>boolean</em></dt>
107107
<dd>
108108
<p class="default">default: true on iOS platforms</p>
109-
<p>This option disables page zoom temporarily when a custom select is focused, which prevents iOS devices from zooming the page into the select. By default, iOS often zooms into form controls, and the behavior is often unnecessary and intrusive in mobile-optimized layouts. This option is also exposed as a data attribute: <code>data-theme=&quot;a&quot;</code></p>
109+
<p>This option disables page zoom temporarily when a custom select is focused, which prevents iOS devices from zooming the page into the select. By default, iOS often zooms into form controls, and the behavior is often unnecessary and intrusive in mobile-optimized layouts. This option is also exposed as a data attribute: <code>data-prevent-focus-zoom=&quot;true&quot;</code></p>
110110
<pre><code>$('select').selectmenu(<strong>{ preventFocusZoom: true }</strong>);</code></pre>
111111
</dd>
112112

0 commit comments

Comments
 (0)