aboutsummaryrefslogtreecommitdiff
path: root/offcanvas/offcanvas.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-15 16:38:12 -0700
committerMark Otto <[email protected]>2013-08-15 16:38:12 -0700
commit54670ab64a2565fd35071eb17fc7eef3480eb724 (patch)
treee92b56ba1a2a748d4b27e519fc61b6894e9791ab /offcanvas/offcanvas.js
parent7cd35f0cb6d17d6117264f71f175a9e5b0b09580 (diff)
parentcfab4b1e9e3777bb146a8ef13c1df3ea5dcb5d31 (diff)
downloadbootstrap-54670ab64a2565fd35071eb17fc7eef3480eb724.tar.xz
bootstrap-54670ab64a2565fd35071eb17fc7eef3480eb724.zip
Merge branch 'bs-ex' into bs3_restore_examples
Conflicts: .editorconfig .gitignore
Diffstat (limited to 'offcanvas/offcanvas.js')
-rw-r--r--offcanvas/offcanvas.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/offcanvas/offcanvas.js b/offcanvas/offcanvas.js
new file mode 100644
index 000000000..12f2dff51
--- /dev/null
+++ b/offcanvas/offcanvas.js
@@ -0,0 +1,5 @@
+$(document).ready(function() {
+ $('[data-toggle=offcanvas]').click(function() {
+ $('.row-offcanvas').toggleClass('active');
+ });
+}); \ No newline at end of file