]> git.mxchange.org Git - friendica-addons.git/blobdiff - showmore_dyn/showmore_dyn.js
[twitter] Fix return value of twitter_user_to_contact()
[friendica-addons.git] / showmore_dyn / showmore_dyn.js
index 956ba2c18ded14854d5b5fe1c371ec5c8d379722..4b32b2d31d7da499a474bba34869ce2de7dbe886 100644 (file)
@@ -1,9 +1,14 @@
 var nextBodyIdx = 0;
 
 $(document).ready(function() {
+       loc = window.location.pathname;
+       if (loc.startsWith('/display')) {
+               return;
+       }
+
        $("head").append('<style type="text/css"></style>');
        var newStyleElement = $("head").children(':last');
-       newStyleElement.html('.limit-height{max-height: ' + postLimitHeight + 'px; overflow: hidden; display:inline-block;}');
+       newStyleElement.html('.limit-height{max-height: ' + postLimitHeight + 'px; overflow: hidden; }');
 
        handleNewWallItemBodies();