X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fjs%2FlinkPreview.js;h=27102be11aa90ff44600342c3c7308e24572a7ab;hb=86bdb2d5b9298eb78316e85374ae8a00161b051e;hp=f7278ce5b20fd2fe0fcb39d1d9e47b76d382bd23;hpb=4403aeeda54785ad011af7b0ce5bb99f86c62232;p=friendica.git diff --git a/view/js/linkPreview.js b/view/js/linkPreview.js index f7278ce5b2..27102be11a 100644 --- a/view/js/linkPreview.js +++ b/view/js/linkPreview.js @@ -352,7 +352,7 @@ for (i = 0; i < images.length; i++) { // For small preview images we use a smaller attachment format. - ///@todo here we need to add a check for !Config::get('system', 'always_show_preview'). + ///@todo here we need to add a check for !DI::config()->get('system', 'always_show_preview'). if (images[i].width >= 500 && images[i].width >= images[i].height) { imageClass = 'attachment-image'; }