Permalink
Browse files

Fixed invalid selectors

  • Loading branch information...
1 parent 21ae615 commit 7333a0bd687d060af49923ff152535e658e5f5d4 Jeraimee Hughes committed Feb 17, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 webroot/js/cakebootstrap.js
@@ -14,11 +14,11 @@ var Bootstrappifier = {
straps : {
cake : function() {
//All submit forms wrapped to div.action
- $('input][type="submit"][class!="btn btn-primary"]').wrap('<div class="actions" />');
+ $('input[type="submit"][class!="btn btn-primary"]').wrap('<div class="actions" />');
//All submit forms converted to primary button
$('input[type="submit"]').addClass('btn btn-primary');
//All index actions converted into pretty buttons
- $('td][class="actions"] > a[class!="btn"]').addClass('btn');
+ $('td[class="actions"] > a[class!="btn"]').addClass('btn');
//All (div.inputs) with default FormHelper style (div.input > label ~ input)
//converted into Twitter Bootstrap Style (div.clearfix > label ~ div.input)

0 comments on commit 7333a0b

Please sign in to comment.