X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=view%2Ftheme%2Ffrost-mobile%2Fjs%2Fmain.js;h=aaa69e7078c6c455e9d5e28dfc8ffa2a56cfff82;hb=9c7d5d42e1dc3370a4d371472175e17bc505e5ca;hp=c13cbef13c208e8e226e6da11f69218b443be997;hpb=9ecb9842858541db669e6ee61627e8526bf4c719;p=friendica.git diff --git a/view/theme/frost-mobile/js/main.js b/view/theme/frost-mobile/js/main.js index c13cbef13c..aaa69e7078 100644 --- a/view/theme/frost-mobile/js/main.js +++ b/view/theme/frost-mobile/js/main.js @@ -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"); @@ -684,7 +684,7 @@ Array.prototype.remove = function(item) { function previewTheme(elm) { theme = $j(elm).val(); $j.getJSON('pretheme?f=&theme=' + theme,function(data) { - $j('#theme-preview').html('