From df399563c636ad44118a6bbb10f074799931d2da Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sun, 26 Feb 2012 00:46:30 +0100 Subject: Wiki editor: Do not lose editor focus when clicking the Aloha sidebar. --- static/js/wiki.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'static') 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(); -- cgit v1.2.3