aboutsummaryrefslogtreecommitdiff
path: root/js/tab.js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2018-09-25 09:13:51 +0300
committerXhmikosR <[email protected]>2018-10-08 20:12:34 +0300
commit5cce25d51510cb9bc81f8ab65fd678c2cbdd66ea (patch)
tree8bd3f129510dbac9312803f9afa8cc8316044f40 /js/tab.js
parentb8a6855a692ab03281359d8b5595970f9caac1b8 (diff)
downloadbootstrap-5cce25d51510cb9bc81f8ab65fd678c2cbdd66ea.tar.xz
bootstrap-5cce25d51510cb9bc81f8ab65fd678c2cbdd66ea.zip
Minor indentation fixes.
Diffstat (limited to 'js/tab.js')
-rw-r--r--js/tab.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/tab.js b/js/tab.js
index 66d2f0487..df727065b 100644
--- a/js/tab.js
+++ b/js/tab.js
@@ -73,15 +73,15 @@
$active
.removeClass('active')
.find('> .dropdown-menu > .active')
- .removeClass('active')
+ .removeClass('active')
.end()
.find('[data-toggle="tab"]')
- .attr('aria-expanded', false)
+ .attr('aria-expanded', false)
element
.addClass('active')
.find('[data-toggle="tab"]')
- .attr('aria-expanded', true)
+ .attr('aria-expanded', true)
if (transition) {
element[0].offsetWidth // reflow for transition
@@ -93,10 +93,10 @@
if (element.parent('.dropdown-menu').length) {
element
.closest('li.dropdown')
- .addClass('active')
+ .addClass('active')
.end()
.find('[data-toggle="tab"]')
- .attr('aria-expanded', true)
+ .attr('aria-expanded', true)
}
callback && callback()