Skip to content

Commit badfcdd

Browse files
committed
update avalon svg
1 parent a5da4ce commit badfcdd

File tree

2 files changed

+30
-30
lines changed

2 files changed

+30
-30
lines changed

avalon.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@
777777
}
778778
}
779779
var svgns = "http://www.w3.org/2000/svg"
780-
if (window.SVGElement && !supportSVGHTML) {
780+
if (window.SVGElement) {
781781
var svg = document.createElementNS(svgns, "svg")
782782
svg.innerHTML = '<rect width="300" height="100"/>'
783783
if (!(svg.firstChild && svg.firstChild.tagName === "svg")) {

0 commit comments

Comments
 (0)