Permalink
Browse files

Added compiled files. Modified untoggle to use `else if` instead of `…

…if`.
  • Loading branch information...
1 parent 3ac86f6 commit 0839f43118ad532cada49c39394b3d9bc9e58de6 @jacobstr committed Mar 12, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 docs/assets/js/bootstrap-button.js
  2. +1 −1 docs/assets/js/bootstrap.js
  3. +1 −1 docs/assets/js/bootstrap.min.js
@@ -83,7 +83,7 @@
, options = typeof option == 'object' && option
if (!data) $this.data('button', (data = new Button(this, options)))
if (option == 'toggle') data.toggle()
- else if (option == 'untoggle') data.untoggle()
+ if (option == 'untoggle') data.untoggle()
else if (option) data.setState(option)
})
}
@@ -240,7 +240,7 @@
, options = typeof option == 'object' && option
if (!data) $this.data('button', (data = new Button(this, options)))
if (option == 'toggle') data.toggle()
- else if (option == 'untoggle') data.untoggle()
+ if (option == 'untoggle') data.untoggle()
else if (option) data.setState(option)
})
}
Oops, something went wrong.

0 comments on commit 0839f43

Please sign in to comment.