Display improvements
This commit is contained in:
+13
-2
@@ -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);
|
||||
Reference in New Issue
Block a user