Merge pull request #4663 from sedrubal/fix-typos-in-docs
Fix typos in docs
This commit is contained in:
commit
5313143fdf
@ -97,7 +97,7 @@ $(".js-example-templating").select2({
|
|||||||
|
|
||||||
<div class="alert alert-warning">
|
<div class="alert alert-warning">
|
||||||
Select2 will do its best to resolve the percent width specified via a
|
Select2 will do its best to resolve the percent width specified via a
|
||||||
css class, but it is not always possible. The best way to ensure that
|
CSS class, but it is not always possible. The best way to ensure that
|
||||||
Select2 is using a percent based width is to inline the
|
Select2 is using a percent based width is to inline the
|
||||||
<code>style</code> declaration into the tag.
|
<code>style</code> declaration into the tag.
|
||||||
</div>
|
</div>
|
||||||
|
@ -36,7 +36,7 @@ $('select').select2({
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
When setting options globally, any past defaults that have been set will
|
When setting options globally, any past defaults that have been set will
|
||||||
be overriden. Default options are only used when an option is requested
|
be overridden. Default options are only used when an option is requested
|
||||||
that has not been set during initialization.
|
that has not been set during initialization.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@ -77,4 +77,4 @@ $.fn.select2.defaults.set("ajax--cache", false);
|
|||||||
{% highlight js linenos %}
|
{% highlight js linenos %}
|
||||||
$.fn.select2.defaults.reset();
|
$.fn.select2.defaults.reset();
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
</section>
|
</section>
|
||||||
|
@ -98,7 +98,7 @@ $('select').select2({
|
|||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
By default, Select2 will send the query term as well as the pagination data as query parameters in requests. You can override the data that is sent to your API, or change any of the query paramters, by overriding the <code>ajax.data</codE> option.
|
By default, Select2 will send the query term as well as the pagination data as query parameters in requests. You can override the data that is sent to your API, or change any of the query parameters, by overriding the <code>ajax.data</codE> option.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{% highlight js linenos %}
|
{% highlight js linenos %}
|
||||||
|
@ -86,7 +86,7 @@ $('select').select2({
|
|||||||
Because Select2 falls back to an <code><optgroup></code> when
|
Because Select2 falls back to an <code><optgroup></code> when
|
||||||
creating nested options, only
|
creating nested options, only
|
||||||
<a href="#how-many-levels-of-nesting-can-there-be">a single level of nesting</a>
|
<a href="#how-many-levels-of-nesting-can-there-be">a single level of nesting</a>
|
||||||
is supported. Any additional levels of nesting is not guarenteed to be
|
is supported. Any additional levels of nesting is not guaranteed to be
|
||||||
displayed properly across all browsers and devices.
|
displayed properly across all browsers and devices.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@ -147,4 +147,4 @@ var data = $.map(yourArrayData, function (obj) {
|
|||||||
return obj;
|
return obj;
|
||||||
});
|
});
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
</section>
|
</section>
|
||||||
|
@ -4,6 +4,6 @@
|
|||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Select2 has an internal event system that works independently of the DOM event system. This internal event system is only accesssible from plugins and adapters that are connected to Select2.
|
Select2 has an internal event system that works independently of the DOM event system. This internal event system is only accessible from plugins and adapters that are connected to Select2.
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
@ -18,7 +18,7 @@ $('select').select2({
|
|||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
This usually means that you do not have a blank <code><option></option></code> as the first option in your <code><select></code>.
|
This usually means that you do not have a blank <code><option></option></code> as the first option in your <code><select></code>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -71,7 +71,7 @@ $('select').select2({
|
|||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<strong>When multiple selections are allowed</strong>, the placeholder will be displayed using the <code>placeholder</code> attribute on the search box. You can cusotmize the display of this placholder using CSS, as explained in the following Stack Overflow answer: <a href="http://stackoverflow.com/q/2610497/359284">Change an input's HTML5 placeholder color with CSS</a>
|
<strong>When multiple selections are allowed</strong>, the placeholder will be displayed using the <code>placeholder</code> attribute on the search box. You can customize the display of this placeholder using CSS, as explained in the following Stack Overflow answer: <a href="http://stackoverflow.com/q/2610497/359284">Change an input's HTML5 placeholder color with CSS</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h3>
|
<h3>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user