aboutsummaryrefslogtreecommitdiff
path: root/offcanvas/offcanvas.js
diff options
context:
space:
mode:
authorNicole <[email protected]>2013-07-20 23:17:01 -0700
committerNicole <[email protected]>2013-07-20 23:17:01 -0700
commitbf51e24700627b17df5041f3a369f6f6b4a4bfbb (patch)
tree255aa16310c0effff236523318ccd45cfc2eb726 /offcanvas/offcanvas.js
parent36c2a34c1e3dda18edbf4e0ce8f297309d55ef6d (diff)
downloadbootstrap-bf51e24700627b17df5041f3a369f6f6b4a4bfbb.tar.xz
bootstrap-bf51e24700627b17df5041f3a369f6f6b4a4bfbb.zip
change file names to example names
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