From 439e834b38338566ef0a53fdf0d73b17f23c3708 Mon Sep 17 00:00:00 2001 From: Florian Kissling Date: Wed, 22 Apr 2015 18:05:59 +0200 Subject: [PATCH] Group buttons for "Programmatic access" and "Disabled mode" demos. This also gets rid of the colored buttons in favor of `.btn-default`, prevents wrapping of the "Destroy" button of the first button group of the "Programmatic access" demos to a second line and consistently places buttons below the Select2 widgets they apply to. Ref. http://getbootstrap.com/components/#btn-groups. --- docs/examples.html | 74 ++++++++++++++++++++++++---------------------- 1 file changed, 39 insertions(+), 35 deletions(-) diff --git a/docs/examples.html b/docs/examples.html index ccb751d2..88119b09 100644 --- a/docs/examples.html +++ b/docs/examples.html @@ -352,15 +352,17 @@ $(".js-data-example-ajax").select2({

-

- - -

+ + +

Example code

@@ -423,47 +425,49 @@ $(".js-programmatic-disable").on("click", function () { component.

-

- - - - - - - - - -

-

-

- - - -

+

+
+ + +
+
+

Example code