fixed #81 Firefox add design bug
This commit is contained in:
parent
0e346add14
commit
3a0cb3d7f1
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ $(function(){
|
|||
}
|
||||
|
||||
// find Illustrator comment and notify
|
||||
f.node.childNodes.forEach(function(entry) {
|
||||
Array.from(f.node.childNodes).forEach(function(entry) {
|
||||
if(entry.nodeType == 8) { // Nodetype 8 = comment
|
||||
if(entry.textContent.indexOf('Illustrator') > -1) {
|
||||
new PNotify({title: gettext("Illustrator SVG Detected"), text: "Illustrator SVG detected! To preserve coorect scale, please go to the \'Settings\' menu and change the \'SVG dpi\' field under \'Plugins/Svg Conversion\' according to your file. And add it again.", type: "info", hide: false});
|
||||
|
|
|
|||
Loading…
Reference in a new issue