From 97855f789a102dc389c66fa656fea1f16e7f1612 Mon Sep 17 00:00:00 2001 From: alexanderroese Date: Sat, 22 Jun 2024 14:42:28 +0200 Subject: [PATCH] disable image drag --- layout/theme.liquid | 2 +- snippets/shx-loading-screen.liquid | 23 +++++++++++++++-------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/layout/theme.liquid b/layout/theme.liquid index 1bfbae5..b23a03c 100644 --- a/layout/theme.liquid +++ b/layout/theme.liquid @@ -408,7 +408,7 @@ - + {% render 'shx-loading-screen' , content_type: 'body' %} diff --git a/snippets/shx-loading-screen.liquid b/snippets/shx-loading-screen.liquid index f789673..465c33a 100644 --- a/snippets/shx-loading-screen.liquid +++ b/snippets/shx-loading-screen.liquid @@ -1,6 +1,6 @@ -{% assign content_type = content_type | default: 'body' %} +{% assign content_type = content_type | default: "body" %} -{% if content_type == 'body' %} +{% if content_type == "body" %}
@@ -8,8 +8,12 @@
-{% elsif content_type == 'head' %} +{% elsif content_type == "head" %}