Skip to content

Commit

Permalink
Fix #674
Browse files Browse the repository at this point in the history
  • Loading branch information
msalihaltun committed Jun 18, 2021
1 parent 2eaf34d commit a01baf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/js/app-utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -2249,7 +2249,8 @@ appUtilities.getAllStyles = function (_cy, _nodes, _edges) {
getFcn = _getFcn || getElementData;
var props = {};
for(var cssProp in properties){
if (getFcn(member, cssProp)) {
if (getFcn(member, cssProp) !== undefined ||
getFcn(member, cssProp) !== null) {
//if it is a color property, replace it with corresponding id
if (cssProp == 'background-color' || cssProp == 'border-color' || cssProp == 'line-color') {
var validColor = appUtilities.getValidColor(member, cssProp, getFcn);
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a01baf6

Please sign in to comment.