Remove unnecessary whitespace in common JS files

This commit is contained in:
Kijin Sung 2023-04-30 22:05:43 +09:00
parent 5eab0474e5
commit 703b04ca97
4 changed files with 94 additions and 94 deletions

View file

@ -495,13 +495,13 @@
}
var xmlDoc;
if (window.DOMParser) {
var parser=new window.DOMParser();
var parser=new window.DOMParser();
try {
xmlDoc = parser.parseFromString( xmlDocStr, "text/xml" );
if(xmlDoc.getElementsByTagNameNS('*', "parsererror").length > 0) {
//throw new Error('Error parsing XML: '+xmlDocStr);
xmlDoc = null;
}
}
}
catch(err) {
xmlDoc = null;