diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2011-11-25 12:40:18 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2011-11-25 12:40:44 +0100 |
commit | 25a96fa649aebebe495f7c7c89eeb4bff0a12c37 (patch) | |
tree | 2b6de1c85cec2f4024b35705c061c88a8981367e /static | |
parent | ec301e9b3cd1ae3a2bbdd71a9a480bfab6c0ca94 (diff) |
Code cleanups.
Diffstat (limited to 'static')
-rw-r--r-- | static/js/wiki.js | 3 |
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(); |