1
0
mirror of synced 2025-02-04 06:09:23 +03:00

Merge pull request #3006 from WouterSioen/patch-1

Add rel=stylesheet to the cdn link.

Closes https://github.com/select2/select2/issues/3020.
This commit is contained in:
Kevin Brown 2015-02-07 12:51:43 -05:00
commit bcc43139fd

View File

@ -71,7 +71,7 @@ slug: home
section of your HTML.
<pre class="code">
&lt;link href="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.0-beta.3/css/select2.min.css" /&gt;
&lt;link href="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.0-beta.3/css/select2.min.css" rel="stylesheet" /&gt;
&lt;script src="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.0-beta.3/js/select2.min.js"&gt;&lt;/script&gt;
</pre>
@ -118,7 +118,7 @@ slug: home
section of your HTML.
<pre class="code">
&lt;link href="path/to/select2.min.css" /&gt;
&lt;link href="path/to/select2.min.css" rel="stylesheet" /&gt;
&lt;script src="path/to/select2.min.js"&gt;&lt;/script&gt;
</pre>
</li>