From 9aa65564d4d41177da326fde76d8f1db3b058e34 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Thu, 19 Dec 2024 09:44:37 +0000 Subject: [PATCH] Remove ELS marker Thanks @ericshulman --- plugins/tiddlywiki/dom-to-image/startup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/tiddlywiki/dom-to-image/startup.js b/plugins/tiddlywiki/dom-to-image/startup.js index 4584752b8..516b7c8c7 100644 --- a/plugins/tiddlywiki/dom-to-image/startup.js +++ b/plugins/tiddlywiki/dom-to-image/startup.js @@ -29,8 +29,8 @@ exports.startup = function() { return result; }; $tw.rootWidget.addEventListener("tm-save-dom-to-image",function(event) { - var self=this; /* ELS */ - var params = event.paramObject || {}, + var self=this, + params = event.paramObject || {}, domToImage = require("$:/plugins/tiddlywiki/dom-to-image/dom-to-image-more.js"), domNode = document.querySelector(params.selector || "body.tc-body"), oncompletion = params.oncompletion,