summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-02-26 00:46:30 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-02-26 00:46:30 +0100
commitdf399563c636ad44118a6bbb10f074799931d2da (patch)
tree70ce331e5057004d71a41afed41478ee50426810 /static
parentc54a3cb4ff0fdadc7f708b2b90ca919c9e784301 (diff)
Wiki editor: Do not lose editor focus when clicking the Aloha sidebar.
Diffstat (limited to 'static')
-rw-r--r--static/js/wiki.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/static/js/wiki.js b/static/js/wiki.js
index 4b87549..6680029 100644
--- a/static/js/wiki.js
+++ b/static/js/wiki.js
@@ -70,6 +70,9 @@ jQuery(function ($) {
$('.aloha-floatingmenu').click(function(event) {
event.stopPropagation();
});
+ $('.aloha-sidebar-bar').click(function(event) {
+ event.stopPropagation();
+ });
$('#wiki-page-content').click(function() {
$$('#wiki-page-content').aloha();