Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #5 from Jeraimee/master

Fixed invalid selectors
  • Loading branch information...
commit 2c128fd0abdd8ee84d28567747cbf64f89c0a82b 2 parents 21ae615 + 7333a0b
@mtkocak authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 webroot/js/cakebootstrap.js
View
4 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)
Please sign in to comment.
Something went wrong with that request. Please try again.