aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts/editor.js
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2024-09-08 18:15:53 +0200
committerAndreas Gohr <andi@splitbrain.org>2024-09-08 18:15:53 +0200
commite44b94a4bd0679ff22e14add34b60590fe7077d3 (patch)
treef850096e4c7d5645ecd0bf5b33a9f6ef18607113 /lib/scripts/editor.js
parent944e9ba7254387adb60f253b0d8796f2276096b1 (diff)
downloaddokuwiki-e44b94a4bd0679ff22e14add34b60590fe7077d3.tar.gz
dokuwiki-e44b94a4bd0679ff22e14add34b60590fe7077d3.zip
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.
Diffstat (limited to 'lib/scripts/editor.js')
-rw-r--r--lib/scripts/editor.js2
1 files changed, 1 insertions, 1 deletions
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);