Skip to content

Commit

Permalink
createElementNS fix for IE7/8
Browse files Browse the repository at this point in the history
  • Loading branch information
toorshia committed Mar 3, 2014
1 parent ca0a130 commit a0ab815
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion justgage.js
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,10 @@
var defs = obj.canvas.canvas.childNodes[1];
var svg = "http://www.w3.org/2000/svg";

if (ie < 9) {
if (ie !== 'undefined' && ie < 9 ) {
// VML mode - no SVG & SVG filter support
}
else if (ie !== 'undefined') {
onCreateElementNsReady(function() {
obj.generateShadow(svg, defs);
});
Expand Down

0 comments on commit a0ab815

Please sign in to comment.