X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/42a46397a91a4bd24211bb98516a99c567247bf8..7dc17cce79e01deeea3d7ba84e4e937c73594a50:/redakcja/static/js/wiki/view_gallery.js?ds=inline

diff --git a/redakcja/static/js/wiki/view_gallery.js b/redakcja/static/js/wiki/view_gallery.js
index 86793488..ec486bc0 100644
--- a/redakcja/static/js/wiki/view_gallery.js
+++ b/redakcja/static/js/wiki/view_gallery.js
@@ -225,6 +225,8 @@
 
         $.wiki.Perspective.prototype.onEnter.call(this);
 
+        $('.vsplitbar').not('.active').trigger('click');
+
         this.doc.refreshGallery({
             success: function(doc, data){
                 self.$image.show();