Compare commits

...

2 commits

Author SHA1 Message Date
make-ing
9b74944d2e Merge branch 'stable-1.2.2' into mrbeam-dev 2016-10-04 13:55:20 +02:00
make-ing
3a0cb3d7f1 fixed #81 Firefox add design bug 2016-08-02 10:28:39 +02:00

View file

@ -279,7 +279,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});