From fbd3c35991dd8f6ce56767a9b9578705b692eb38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Tue, 7 Dec 2021 10:26:00 +0100 Subject: [PATCH] lity close --- core/core.js.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/core.js.php b/core/core.js.php index 56e55b04..17853c46 100644 --- a/core/core.js.php +++ b/core/core.js.php @@ -515,4 +515,11 @@ $(document).ready(function(){ if(/^\?fbclid=/.test(location.search)) location.replace(location.href.replace(/\?fbclid.+/, "")); + /** + * No translate Lity close + */ + $(document).on('lity:ready', function(event, instance) { + $('.lity-close').addClass('notranslate'); + }); + });