mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
limit number of items on profile page too; add show more back to Frost mobile; some show more fixes
This commit is contained in:
parent
0765ab5203
commit
c681e69794
8 changed files with 39 additions and 21 deletions
|
@ -350,7 +350,7 @@
|
|||
/* autocomplete @nicknames */
|
||||
$j(".comment-edit-form textarea").contact_autocomplete(baseurl+"/acl");
|
||||
|
||||
/*var bimgs = $j(".wall-item-body > img").not(function() { return this.complete; });
|
||||
var bimgs = $j(".wall-item-body > img").not(function() { return this.complete; });
|
||||
var bimgcount = bimgs.length;
|
||||
|
||||
if (bimgcount) {
|
||||
|
@ -363,12 +363,12 @@
|
|||
});
|
||||
} else {
|
||||
collapseHeight();
|
||||
}*/
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
/* function collapseHeight() {
|
||||
function collapseHeight() {
|
||||
$j(".wall-item-body").each(function() {
|
||||
if($j(this).height() > 310) {
|
||||
if(! $j(this).hasClass('divmore')) {
|
||||
|
@ -377,7 +377,7 @@
|
|||
}
|
||||
}
|
||||
});
|
||||
}*/
|
||||
}
|
||||
|
||||
function imgbright(node) {
|
||||
$j(node).removeClass("drophide").addClass("drop");
|
||||
|
|
2
view/theme/frost-mobile/js/main.min.js
vendored
2
view/theme/frost-mobile/js/main.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1347,6 +1347,11 @@ input#dfrn-url {
|
|||
max-width: 280px;
|
||||
}
|
||||
|
||||
.divgrow-showmore {
|
||||
display: block;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
|
||||
.wall-item-title {
|
||||
float: left;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Name: Frost--mobile version
|
||||
* Description: Like frosted glass
|
||||
* Credits: Navigation icons taken from http://iconza.com. Other icons taken from http://thenounproject.com, including: Like, Dislike, Black Lock, Unlock, Pencil, Tag, Camera, Paperclip (Marie Coons), Folder (Sergio Calcara), Chain-link (Andrew Fortnum), Speaker (Harold Kim), Quotes (Henry Ryder), Video Camera (Anas Ramadan), and Left Arrow, Right Arrow, and Delete X (all three P.J. Onori). All under Attribution (CC BY 3.0). Others from The Noun Project are public domain or No Rights Reserved (CC0).
|
||||
* Version: Version 0.2.9
|
||||
* Version: Version 0.2.10
|
||||
* Author: Zach P <techcity@f.shmuz.in>
|
||||
* Maintainer: Zach P <techcity@f.shmuz.in>
|
||||
*/
|
||||
|
@ -27,5 +27,6 @@ function frost_mobile_init(&$a) {
|
|||
$a->videowidth = 250;
|
||||
$a->videoheight = 200;
|
||||
$a->theme_thread_allow = false;
|
||||
$a->force_max_items = 10;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue