From e44b94a4bd0679ff22e14add34b60590fe7077d3 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 8 Sep 2024 18:15:53 +0200 Subject: Revert "use a dispatcher to access static image files" This reverts commit 944e9ba7254387adb60f253b0d8796f2276096b1. It was accidentally pused to master before review. A PR with a revert for the revert will be pushed shortly. --- lib/scripts/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/scripts/editor.js') diff --git a/lib/scripts/editor.js b/lib/scripts/editor.js index f0a767223..0df556172 100644 --- a/lib/scripts/editor.js +++ b/lib/scripts/editor.js @@ -58,7 +58,7 @@ var dw_editor = { ['wrap', function(){dw_editor.toggleWrap(editor);}] ], function (_, img) { jQuery(document.createElement('img')) - .attr('src', DOKU_BASE+'lib/exe/image.php/' + img[0] + '.gif') + .attr('src', DOKU_BASE+'lib/images/' + img[0] + '.gif') .attr('alt', '') .on('click', img[1]) .appendTo($ctl); -- cgit v1.2.3