Commit e946ea53cdf7682a0ba899b81b10031ef105b9ae

Authored by Leonardo Merlin
1 parent 358c595d

Hack footable (fix #345)

Showing 2 changed files with 4 additions and 3 deletions   Show diff stats
js/footable.js
... ... @@ -431,7 +431,8 @@
431 431 });
432 432  
433 433 $table.find(opt.toggleSelector).unbind('click.footable').bind('click.footable', function (e) {
434   - if ($table.is('.breakpoint') && $(e.target).is('td,th,.'+ cls.toggle)) {
  434 + // if ($table.is('.breakpoint') && $(e.target).is('td,th,.'+ cls.toggle)) {
  435 + if ($table.is('.breakpoint') && $(e.target).is('.'+ cls.toggle)) {
435 436 $(this).trigger(trg.toggleRow);
436 437 }
437 438 });
... ...
sass/style.sass
... ... @@ -953,8 +953,8 @@ td
953 953 .footable-row-detail-row
954 954 display: inline-block
955 955 &:not(:last-child)
956   - margin-right: 10px
957   - padding-right: 10px
  956 + // margin-right: 10px
  957 + // padding-right: 10px
958 958 border-right: 1px solid #ccc
959 959 .footable-row-detail-inner
960 960 margin: 0 auto
... ...