New tool: annotations from current text (fixes #862)
[redakcja.git] / redakcja / static / js / wiki / loader.js
index f051511..eb535a1 100644 (file)
@@ -69,10 +69,12 @@ $(function()
                                $.wiki.state.perspectives.ScanGalleryPerspective.show = false;
                                $('#sidebar').hide();
                                $('.vsplitbar').css('right', 0).removeClass('active');
-                               if($(".vsplitbar-title").html() == "↓ SEARCH AND REPLACE ↓"){
-                                       $(".vsplitbar-title").html("↑ SEARCH AND REPLACE ↑");        
-                               } else {
-                                   $(".vsplitbar-title").html("↑ GALLERY ↑");
+                               if($(".vsplitbar-title").html() == "↓ ZNAJDŹ I ZAMIEŃ ↓"){
+                                       $(".vsplitbar-title").html("↑ ZNAJDŹ I ZAMIEŃ ↑");        
+                               } else if($(".vsplitbar-title").html() == "↓ PRZYPISY ↓"){
+                        $(".vsplitbar-title").html("↑ PRZYPISY ↑");        
+                } else {
+                                   $(".vsplitbar-title").html("↑ GALERIA ↑");
                                }
                                $('#editor .editor').css('right', 30);
                                $(window).resize();