From 485aa9cb42160cfb2697bce9c75307a86f94c182 Mon Sep 17 00:00:00 2001 From: Mathieu De Keyzer Date: Sat, 17 Feb 2024 17:57:07 +0100 Subject: [PATCH] chore: cleaning --- .../_to_be_ref/js/editRevisionEventListeners.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/EMS/admin-ui-bundle/_to_be_ref/js/editRevisionEventListeners.js b/EMS/admin-ui-bundle/_to_be_ref/js/editRevisionEventListeners.js index 3160ed0af..b1963b954 100644 --- a/EMS/admin-ui-bundle/_to_be_ref/js/editRevisionEventListeners.js +++ b/EMS/admin-ui-bundle/_to_be_ref/js/editRevisionEventListeners.js @@ -1,14 +1,4 @@ -import EmsListeners from "./EmsListeners"; -import {CKEditorConfig} from "./CKEditorConfig"; - -let ckconfig = false; - function editRevisionEventListeners(target, onChangeCallback = null){ - new EmsListeners(target.get(0), onChangeCallback); - - if (false === ckconfig) { - ckconfig = new CKEditorConfig().getConfig() - } target.find('.remove-content-button').on('click', function(e) { // prevent the link from creating a "#" on the URL