"...projects/management/git@code.librehq.com:ots/hypha.git" did not exist on "55b5365862511080a4b26d3c6e3f9012c0f74cff"
Newer
Older
Fredrik Jonsson
committed
(function ($) {
'use strict';
Fredrik Jonsson
committed
$('.rich-text--answers').find('p').each(function () {
Fredrik Jonsson
committed
// Detach (remove) p tag with only whitespace inside.
if ($.trim($(this).text()) === '') {
$(this).detach();
}
});
Fredrik Jonsson
committed
// Wrap all tables in a div so overflow auto works.
$('.rich-text--answers').find('table').wrap('<div class="rich-text__table"></div>');
Fredrik Jonsson
committed
})(jQuery);