diff --git a/public/js/scriptResultPage.js b/public/js/scriptResultPage.js
index 54e315db978d0df8ddc4d65763185b6eddcbf50e..7aa8bd004d44c6b71c35409efc83f723a2700c73 100644
--- a/public/js/scriptResultPage.js
+++ b/public/js/scriptResultPage.js
@@ -1,5 +1,5 @@
 $(document).ready(function() {
-    getDocumentReadyForUse();
+    getDocumentReadyForUse($("#foki > li.active > a").attr("aria-controls"));
 });
 
 function tabs() {
@@ -18,17 +18,18 @@ function tabs() {
                 $("#" + fokus + "TabSelector").attr("data-loaded", "1");
                 $("#" + fokus).html(data);
                 $("input[name=focus]").val($("#foki li.active a").attr("aria-controls"));
-                getDocumentReadyForUse();
+                getDocumentReadyForUse(fokus);
             });
+        } else {
+            getDocumentReadyForUse(fokus);
         }
-        getDocumentReadyForUse();
     });
 }
 
-function getDocumentReadyForUse() {
+function getDocumentReadyForUse(fokus = "") {
     clickLog();
     popovers();
-    imageLoader();
+    if (fokus === "bilder") imageLoader();
     //pagination();
     tabs();
     theme();
@@ -113,6 +114,7 @@ function paginationHandler() {
 }
 
 function imageLoader() {
+    console.log("bilder");
     if (typeof $("#container").masonry == "undefined") {
         return;
     }