X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/effb5f39f873af6e83f65ec3bce4c6d6b3a0fac3..3e511e095f8b9a1b4ad7f81c8673e5b61a207055:/edit/page.js diff --git a/edit/page.js b/edit/page.js index c3ece3c..7632835 100644 --- a/edit/page.js +++ b/edit/page.js @@ -57,7 +57,7 @@ CKEDITOR.plugins.add('inlinesave', { ajaxpost.send(data); }, }); - editor.setKeystroke(CKEDITOR.CTRL + 83 /*S*/, 'inlinesave'); + editor.setKeystroke(CKEDITOR.CTRL + 'S'.charCodeAt(0), 'inlinesave'); editor.ui.addButton( 'Inlinesave', { command: 'inlinesave', label: editor.lang.save.toolbar,