]> git.0d.be Git - panikdb.git/commitdiff
wiki: hide toolbars when leaving edit mode
authorFrédéric Péters <fpeters@0d.be>
Sat, 20 Jun 2020 10:40:45 +0000 (12:40 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sat, 20 Jun 2020 10:40:45 +0000 (12:40 +0200)
panikdb/static/js/combo.wiki.js

index dc9a74ebfc77f04da59216c9f079a51aa3210e35..859b1e832a2f3e1b9e02afc1e729934c75525505 100644 (file)
@@ -126,6 +126,8 @@ function auto_anchors() {
 
     off: function() {
       $('#image-upload').remove();
+      if (block_style_popup) { block_style_popup.hide(); }
+      if (style_popup) { style_popup.hide(); }
       $(document).off('selectionchange');
     },