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:
authorMark Otto <markdotto@gmail.com>2016-11-26 02:00:23 +0300
committerMark Otto <markdotto@gmail.com>2016-11-26 02:00:23 +0300
commit49be9bc63af9391721287c189bf2f9150aad15bc (patch)
tree255d689d20f0246a18ddf3070ce1a5c2b0cea09d /js/dist/scrollspy.js
parent432fe74c3182f3be258320fec31b0a8c5d70848d (diff)
grunt
Diffstat (limited to 'js/dist/scrollspy.js')
-rw-r--r--js/dist/scrollspy.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/dist/scrollspy.js b/js/dist/scrollspy.js
index fa26dcdb35..2fb9b5880a 100644
--- a/js/dist/scrollspy.js
+++ b/js/dist/scrollspy.js
@@ -249,7 +249,7 @@ var ScrollSpy = function ($) {
ScrollSpy._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config || null;
+ var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config;
if (!data) {
data = new ScrollSpy(this, _config);