From d1e9531a0a1b0e17e40adcc5ce18a31f1e05e13a Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Wed, 6 Feb 2013 14:02:15 -0800 Subject: [PATCH] use a form of attr that will always set the value. fixes #810 --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index abc23ed4..57151ff4 100644 --- a/select2.js +++ b/select2.js @@ -645,7 +645,7 @@ the specific language governing permissions and limitations under the Apache Lic select2.opts.element .removeData("select2") .unbind(".select2") - .attr("tabIndex", this.elementTabIndex) + .attr({"tabIndex": this.elementTabIndex}) .show(); } },