From 05babd1285b594ff36d322474abe3861bb968a87 Mon Sep 17 00:00:00 2001 From: Kevin Brown Date: Wed, 11 Jun 2014 20:19:01 -0400 Subject: [PATCH] Documentation changes The documentation now references the `choice` parameter instead of the now deprecated `object` parameter for events. This fixes the following issue: https://github.com/ivaynberg/select2/issues/2340 --- select2-latest.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/select2-latest.html b/select2-latest.html index a74948fb..7ac08ef3 100644 --- a/select2-latest.html +++ b/select2-latest.html @@ -1773,7 +1773,7 @@ $("#select").select2({

The event object contains the following custom properties:

val
The id of the highlighted choice object.
-
object
The highlighted choice object.
+
choice
The highlighted choice object.
@@ -1785,7 +1785,7 @@ $("#select").select2({

The event object contains the following custom properties:

val
The id of the highlighted choice object.
-
object
The choice object about to be selected.
+
choice
The choice object about to be selected.
@@ -1805,7 +1805,7 @@ $("#select").select2({

The event object contains the following custom properties:

val
The id of the removing choice object.
-
object
The choice object about to be removed.
+
choice
The choice object about to be removed.
@@ -1816,7 +1816,7 @@ $("#select").select2({

The event object contains the following custom properties:

val
The id of the highlighted choice object.
-
object
The highlighted choice object.
+
choice
The highlighted choice object.