mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-28 01:04:43 +00:00
Update parser.js
This commit is contained in:
parent
54f5cf11e5
commit
35eebc0376
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@
|
|||
else if (attr === 'visible') {
|
||||
value = (value === 'none' || value === 'hidden') ? false : true;
|
||||
// display=none on parent element always takes precedence over child element
|
||||
if (typeof(parentAttributes.visible) != 'undefined' && parentAttributes.visible === false) {
|
||||
if (parentAttributes && parentAttributes.visible === false) {
|
||||
value = false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue