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 | |
parent | ec301e9b3cd1ae3a2bbdd71a9a480bfab6c0ca94 (diff) |
Code cleanups.
-rw-r--r-- | src/mulk/benki/util.clj | 1 | ||||
-rw-r--r-- | static/js/wiki.js | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mulk/benki/util.clj b/src/mulk/benki/util.clj index fd2e353..bd7e537 100644 --- a/src/mulk/benki/util.clj +++ b/src/mulk/benki/util.clj @@ -51,7 +51,6 @@ [[:wiki title & xs]] (fresolve "/wiki/~a~@[~a~]" title (first xs)))) (defn call-with-auth [thunk] - (println (request/ring-request)) (if (session/get :user) (thunk) (do (session/flash-put! (:uri (request/ring-request))) 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(); |