aboutsummaryrefslogtreecommitdiff
path: root/offcanvas/example.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-06-23 20:34:38 -0700
committerMark Otto <[email protected]>2013-06-23 20:34:38 -0700
commit838bc9372498735412264909be2375eecac07e76 (patch)
treeceebefff98edff087e36af044d74f53ca88bd595 /offcanvas/example.js
parent0dffb03c0b235625fc00b8914ea4ad4a961c33c0 (diff)
parent0a1c46a12c628301f18bf5b8b394aaae1c188eb4 (diff)
downloadbootstrap-838bc9372498735412264909be2375eecac07e76.tar.xz
bootstrap-838bc9372498735412264909be2375eecac07e76.zip
Merge branch 'master' of github.com:twbs/bootstrap-examples
Diffstat (limited to 'offcanvas/example.js')
-rw-r--r--offcanvas/example.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/offcanvas/example.js b/offcanvas/example.js
new file mode 100644
index 000000000..12f2dff51
--- /dev/null
+++ b/offcanvas/example.js
@@ -0,0 +1,5 @@
+$(document).ready(function() {
+ $('[data-toggle=offcanvas]').click(function() {
+ $('.row-offcanvas').toggleClass('active');
+ });
+}); \ No newline at end of file