Skip to content

Commit

Permalink
0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bahrus committed Apr 18, 2023
1 parent 98fa938 commit ae560b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion xslt.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export async function xslt(xsltProcessor, realmToSurvey, derivedVals) {
let xmlSrc = realmToSurvey.cloneNode(true);
let xmlSrc = realmToSurvey;
if (navigator.userAgent.indexOf("Firefox") !== -1) {
xmlSrc = xmlSrc.cloneNode(true);
const outer = document.createElement('div');
outer.appendChild(xmlSrc);
xmlSrc = outer;
Expand Down
3 changes: 2 additions & 1 deletion xslt.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export async function xslt(xsltProcessor: XSLTProcessor, realmToSurvey: Element, derivedVals: any){
let xmlSrc = realmToSurvey.cloneNode(true) as Element;
let xmlSrc = realmToSurvey as Element;
if(navigator.userAgent.indexOf("Firefox") !== -1){
xmlSrc = xmlSrc.cloneNode(true) as Element;
const outer = document.createElement('div');
outer.appendChild(xmlSrc);
xmlSrc = outer;
Expand Down

0 comments on commit ae560b9

Please sign in to comment.