From be0276a1a533acfb70a5dcb28fe26846305d26d0 Mon Sep 17 00:00:00 2001 From: Stephan Linkel Date: Wed, 16 Mar 2016 17:21:17 +0100 Subject: [PATCH] - toggle button handles now are real buttons, thus allowing for keyboard focus (now can access toggle buttons via tab-key, and switch state via space) - toggle buttons now preserve the inputs title attribute --- js/bootstrap-toggle.js | 3 ++- js/bootstrap-toggle.min.js | 2 +- js/bootstrap-toggle.min.js.map | 2 +- js/bootstrap2-toggle.js | 3 ++- js/bootstrap2-toggle.min.js | 2 +- js/bootstrap2-toggle.min.js.map | 2 +- 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/js/bootstrap-toggle.js b/js/bootstrap-toggle.js index 533914e..06f501d 100644 --- a/js/bootstrap-toggle.js +++ b/js/bootstrap-toggle.js @@ -56,13 +56,14 @@ .addClass(this._onstyle + ' ' + size) var $toggleOff = $('