mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-14 17:54:13 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -66,7 +66,9 @@ module.exports.cloneCssStyles = function(svg, classes){
|
|||||||
catch(err) {
|
catch(err) {
|
||||||
if(typeof console !== 'undefined'){
|
if(typeof console !== 'undefined'){
|
||||||
if(console.warn !== 'undefined'){
|
if(console.warn !== 'undefined'){
|
||||||
console.warn('Invalid CSS selector "' + rule.selectorText + '"', err);
|
if(rule !== 'undefined'){
|
||||||
|
console.warn('Invalid CSS selector "' + rule.selectorText + '"', err);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user