aboutsummaryrefslogtreecommitdiff
path: root/offcanvas/offcanvas.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-07-26 20:43:22 -0700
committerMark Otto <[email protected]>2013-07-26 20:43:22 -0700
commitc3e662641135b9fadeff589682e85eb4ace4bce6 (patch)
tree06eafabcd7293083dea7d35f9ec11156aab29c5a /offcanvas/offcanvas.js
parent4b849e5fd7e5df575ffc64be75816a16b2fef27f (diff)
parent9c13af8cb10f6e16322c50dfc82ae9263d99b82a (diff)
downloadbootstrap-c3e662641135b9fadeff589682e85eb4ace4bce6.tar.xz
bootstrap-c3e662641135b9fadeff589682e85eb4ace4bce6.zip
Merge branch 'example-named-files'
Conflicts: .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