diff options
author | friendica <info@friendica.com> | 2014-06-26 16:26:33 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-06-26 16:26:33 -0700 |
commit | fea4eac17a5979fc5ffe0ac74e626c3cc562a45e (patch) | |
tree | 33c1ebecb67d9fdec59c27b9fbf45f381d6606cc /library | |
parent | 8b545d91db1bec0881645a989f4d7fc146397154 (diff) | |
parent | 0db4b55223d5df47a13cdb47d25ba30fd57df5c1 (diff) | |
download | volse-hubzilla-fea4eac17a5979fc5ffe0ac74e626c3cc562a45e.tar.gz volse-hubzilla-fea4eac17a5979fc5ffe0ac74e626c3cc562a45e.tar.bz2 volse-hubzilla-fea4eac17a5979fc5ffe0ac74e626c3cc562a45e.zip |
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'library')
-rw-r--r-- | library/jquery.divgrow/jquery.divgrow-1.3.1.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/jquery.divgrow/jquery.divgrow-1.3.1.js b/library/jquery.divgrow/jquery.divgrow-1.3.1.js index e79c7928c..49788f802 100644 --- a/library/jquery.divgrow/jquery.divgrow-1.3.1.js +++ b/library/jquery.divgrow/jquery.divgrow-1.3.1.js @@ -43,12 +43,12 @@ obj.css('height', options.initialHeight).css('overflow', 'hidden');
if (options.showBrackets) {
- obj.after('<p class="divgrow-brackets">[…]</p><a href="#" class="divgrow-showmore' + " divgrow-obj-" + divgrowid + '"' + '></a>');
+ obj.after('<p class="divgrow-brackets">[…]</p><div href="#" class="divgrow-showmore' + " divgrow-obj-" + divgrowid + '"' + '></div>');
}
else {
- obj.after('<a href="#" class="divgrow-showmore' + " divgrow-obj-" + divgrowid + '"' + '></a>');
+ obj.after('<div class="divgrow-showmore' + " divgrow-obj-" + divgrowid + '"' + '></div>');
}
- $("a.divgrow-showmore").html(options.moreText);
+ $("div.divgrow-showmore").html(options.moreText);
$("." + "divgrow-obj-" + divgrowid).toggle(function () {
//alert(obj.attr('class'));
@@ -61,7 +61,7 @@ if (options.showBrackets) {
$(this).nextAll("p.divgrow-brackets:first").fadeOut();
}
- $(this).nextAll("a.divgrow-showmore:first").html(options.lessText);
+ $(this).nextAll("div.divgrow-showmore:first").html(options.lessText);
});
@@ -74,7 +74,7 @@ if (options.showBrackets) {
$(this).nextAll("p.divgrow-brackets:first").stop(true, false).fadeIn();
}
- $(this).nextAll("a.divgrow-showmore:first").stop(true, false).html(options.moreText);
+ $(this).nextAll("div.divgrow-showmore:first").stop(true, false).html(options.moreText);
});
});
|