fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Maint
[redakcja.git]
/
src
/
redakcja
/
static
/
js
/
wiki
/
xslt.js
diff --git
a/src/redakcja/static/js/wiki/xslt.js
b/src/redakcja/static/js/wiki/xslt.js
index
922a3ba
..
00854a7
100644
(file)
--- a/
src/redakcja/static/js/wiki/xslt.js
+++ b/
src/redakcja/static/js/wiki/xslt.js
@@
-60,17
+60,10
@@
function xml2html(options) {
source.text('');
options.error(error.text(), source_text);
} else {
source.text('');
options.error(error.text(), source_text);
} else {
- let galleryUrl = new URL(
- options.base,
- window.location.href
- );
$("img", $(doc.childNodes)).each(function() {
$(this).attr(
'src',
$("img", $(doc.childNodes)).each(function() {
$(this).attr(
'src',
- new URL(
- $(this).attr('src'),
- galleryUrl
- )
+ $(this).attr('src'),
);
})
);
})