Maint
[redakcja.git] / src / redakcja / static / js / wiki / wikiapi.js
index 73642ac..a420e3b 100644 (file)
             $.xmlns["rdf"] = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
             $('rdf|RDF', doc).remove();
             if (params.noFootnotes) {
             $.xmlns["rdf"] = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
             $('rdf|RDF', doc).remove();
             if (params.noFootnotes) {
-                $('pa, pe, pr, pt', doc).remove();
+                $('pa, pe, pr, pt, ptrad', doc).remove();
             }
            if (params.noThemes) {
                $('motyw', doc).remove();
             }
            if (params.noThemes) {
                $('motyw', doc).remove();
             text = $.trim(text.replace(/\s{2,}/g, ' '));
             return text.length;
         }
             text = $.trim(text.replace(/\s{2,}/g, ' '));
             return text.length;
         }
-
-        /* Temporary workaround for relative images. */
-        getBase() {
-            return '/media/dynamic/images/' + this.galleryLink + '/';
-        }
     }
 
     $.wikiapi.WikiDocument = WikiDocument;
     }
 
     $.wikiapi.WikiDocument = WikiDocument;