Display improvements

This commit is contained in:
2017-02-06 14:01:56 -05:00
parent 7dcd9dec75
commit 223a1c996a
13 changed files with 82 additions and 17 deletions
+13 -2
View File
@@ -38,8 +38,8 @@
$(container).find('.equal').each(function() {
$el = $(this);
$($el).height('auto')
topPostion = $el.position().top;
$($el).height('auto');
topPostion = $el.position().top;
if (currentRowStart != topPostion) {
for (currentDiv = 0 ; currentDiv < rowDivs.length ; currentDiv++) {
@@ -110,4 +110,15 @@
}
});
$(".read-more")
.click(function () {
var control = $(this).attr('readcontrol');
$("#" + control).toggleClass("read-less");
if ($(this).text() === "Show Less")
$(this).text("Show More");
else
$(this).text("Show Less");
return false;
});
})(jQuery);