aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts/editor.js
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2016-04-20 15:40:30 +0100
committerAnika Henke <anika@selfthinker.org>2016-04-20 19:37:21 +0100
commit250ce76b45d5334c62c7139a92decba4d6fd3fda (patch)
treeb413354296df0d60be230a156fa3343403b1abd6 /lib/scripts/editor.js
parent6406c1a0888a85a87e1a5bf85c4d8e4756f52c8d (diff)
downloaddokuwiki-250ce76b45d5334c62c7139a92decba4d6fd3fda.tar.gz
dokuwiki-250ce76b45d5334c62c7139a92decba4d6fd3fda.zip
fix size controls under edit box to work in xhtml
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 fac084489..e96df7c82 100644
--- a/lib/scripts/editor.js
+++ b/lib/scripts/editor.js
@@ -63,7 +63,7 @@ var dw_editor = {
['smaller', function(){dw_editor.sizeCtl(editor,-100);}],
['wrap', function(){dw_editor.toggleWrap(editor);}]
], function (_, img) {
- jQuery(document.createElement('IMG'))
+ jQuery(document.createElement('img'))
.attr('src', DOKU_BASE+'lib/images/' + img[0] + '.gif')
.attr('alt', '')
.click(img[1])