summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/js/wiki.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/static/js/wiki.js b/static/js/wiki.js
index f4d32fb..5deab10 100644
--- a/static/js/wiki.js
+++ b/static/js/wiki.js
@@ -76,8 +76,9 @@ jQuery(function ($) {
Aloha.ready(function() {
var $$ = Aloha.jQuery;
+ var editable;
$$('#wiki-page-content').aloha();
- var editable = Aloha.editables[0];
+ editable = Aloha.editables[0];
editable.disable();
$('#wiki-page-content').on('blur', function() {
mulk.savePage();