summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mulk/benki/util.clj1
-rw-r--r--static/js/wiki.js3
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();