diff --git a/kahuna/public/js/services/graphic-image-blur.js b/kahuna/public/js/services/graphic-image-blur.js index 0be4f9171b..c2d34ef813 100644 --- a/kahuna/public/js/services/graphic-image-blur.js +++ b/kahuna/public/js/services/graphic-image-blur.js @@ -19,8 +19,10 @@ export const graphicImageBlurService = angular.module("kahuna.services.graphicIm $cookies.put(COOKIE_SHOULD_BLUR_GRAPHIC_IMAGES, newCookieValue, cookieOptions); window.location.reload(); }, - acceptDefaultOfBlurringGraphicImages: () => - $cookies.put(COOKIE_SHOULD_BLUR_GRAPHIC_IMAGES, "true", cookieOptions), + acceptDefaultOfBlurringGraphicImages: () => { + $cookies.put(COOKIE_SHOULD_BLUR_GRAPHIC_IMAGES, "true", cookieOptions); + window.location.reload(); + }, isPotentiallyGraphic: (image) => shouldBlurGraphicImages && ( image.data.isPotentiallyGraphic || // server can flag images as potentially graphic by inspecting deep in the metadata at query time (not available to the client) !![