Ticket 867: 'cancel' button in editor.
[redakcja.git] / redakcja / static / js / wiki / view_gallery.js
index 8679348..4f6b8a1 100644 (file)
 
         $.wiki.Perspective.prototype.onEnter.call(this);
 
+        $('.vsplitbar').not('.active').trigger('click');
+        $(".vsplitbar-title").html("↓ GALLERY ↓");        
+        
         this.doc.refreshGallery({
             success: function(doc, data){
                 self.$image.show();