From e946ea53cdf7682a0ba899b81b10031ef105b9ae Mon Sep 17 00:00:00 2001 From: Leonardo Merlin Date: Wed, 15 Jul 2015 08:36:57 -0300 Subject: [PATCH] Hack footable (fix #345) --- js/footable.js | 3 ++- sass/style.sass | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/js/footable.js b/js/footable.js index 18729ab..c2c5a5a 100644 --- a/js/footable.js +++ b/js/footable.js @@ -431,7 +431,8 @@ }); $table.find(opt.toggleSelector).unbind('click.footable').bind('click.footable', function (e) { - if ($table.is('.breakpoint') && $(e.target).is('td,th,.'+ cls.toggle)) { + // if ($table.is('.breakpoint') && $(e.target).is('td,th,.'+ cls.toggle)) { + if ($table.is('.breakpoint') && $(e.target).is('.'+ cls.toggle)) { $(this).trigger(trg.toggleRow); } }); diff --git a/sass/style.sass b/sass/style.sass index f75b29d..30f269c 100644 --- a/sass/style.sass +++ b/sass/style.sass @@ -953,8 +953,8 @@ td .footable-row-detail-row display: inline-block &:not(:last-child) - margin-right: 10px - padding-right: 10px + // margin-right: 10px + // padding-right: 10px border-right: 1px solid #ccc .footable-row-detail-inner margin: 0 auto -- libgit2 0.21.2