Skip to content

Commit

Permalink
chore: cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
theus77 committed Feb 17, 2024
1 parent fdb29da commit 485aa9c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions EMS/admin-ui-bundle/_to_be_ref/js/editRevisionEventListeners.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 485aa9c

Please sign in to comment.