From 5fd72d205253b6bac2db113cd6b9a0f8691f234e Mon Sep 17 00:00:00 2001 From: Florian Kissling Date: Wed, 6 May 2015 09:28:48 +0200 Subject: [PATCH] Set "width" to "100%" as default for all Select2s on the "Examples" page. --- docs/examples.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/examples.html b/docs/examples.html index 35a170c7..c29ea18e 100644 --- a/docs/examples.html +++ b/docs/examples.html @@ -156,6 +156,8 @@ $.fn.select2.amd.require( var $diacritics = $(".js-example-diacritics"); var $language = $(".js-example-language"); + $.fn.select2.defaults.set("width", "100%"); + $basicSingle.select2(); $basicMultiple.select2(); $limitMultiple.select2({