From 6508a67115aca78eec75912ae3c937e5029c6e1b Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Wed, 23 Oct 2013 18:23:24 +0530 Subject: [PATCH] [minor] [fix] editor dropdown toggle --- public/js/wn/ui/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/wn/ui/editor.js b/public/js/wn/ui/editor.js index 31e19ec5b9..657dea619d 100644 --- a/public/js/wn/ui/editor.js +++ b/public/js/wn/ui/editor.js @@ -330,7 +330,7 @@ bsEditorToolbar = Class.extend({ me.execCommand($(this).data(me.options.command_role)); me.save_selection(); // close dropdown - me.toolbar.find('[data-toggle=dropdown]').dropdown("hide"); + me.toolbar.find('[data-toggle="dropdown"]').dropdown("toggle"); return false; }); this.toolbar.find('[data-toggle=dropdown]').click(function() { me.restore_selection() });