Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick H. Lauke <redux@splintered.co.uk>2016-02-17 18:21:02 +0300
committerPatrick H. Lauke <redux@splintered.co.uk>2016-02-17 18:21:02 +0300
commit701b12bf5823769e4eae66153755cf1ecd10ead9 (patch)
tree1e8d9eff72f32b5ef1ad43075697d7d4066c2440 /js/src/button.js
parent3c2692447cf5401e589607a91bf2c940e0e3063d (diff)
Replace jQuery with vanilla JS
Diffstat (limited to 'js/src/button.js')
-rw-r--r--js/src/button.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/button.js b/js/src/button.js
index adcf4c9286..39e2b39742 100644
--- a/js/src/button.js
+++ b/js/src/button.js
@@ -93,7 +93,7 @@ const Button = (($) => {
$(this._element).trigger('change')
}
- $(input).trigger('focus')
+ input.focus()
}
} else {