]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
quote attribute value in selector in offcanvas.js
authorChris Rebert <code@rebertia.com>
Sun, 20 Apr 2014 00:37:39 +0000 (17:37 -0700)
committerChris Rebert <code@rebertia.com>
Sun, 20 Apr 2014 00:38:00 +0000 (17:38 -0700)
docs/examples/offcanvas/offcanvas.js

index ade5751fdbabd21842d46c51da10400eaa2b7744..d2f37f22c9c5d682a9b2b6781ea74b44840b3017 100644 (file)
@@ -1,5 +1,5 @@
 $(document).ready(function () {
-  $('[data-toggle=offcanvas]').click(function () {
+  $('[data-toggle="offcanvas"]').click(function () {
     $('.row-offcanvas').toggleClass('active')
   });
 });
\ No newline at end of file