Skip to content

Commit

Permalink
clean up js file
Browse files Browse the repository at this point in the history
  • Loading branch information
dabeng committed Jun 26, 2016
1 parent af2b7ab commit 5dbb80d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/js/jquery.orgchart.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
'height': flag ? sourceChart.clientWidth : sourceChart.clientHeight,
'onclone': function(cloneDoc) {
$(cloneDoc).find('.canvasContainer').css('overflow', 'visible')
.find('.orgchart').css('transform', '');
.find('.orgchart:visible:first').css('transform', '');
},
'onrendered': function(canvas) {
$chartContainer.find('.mask').addClass('hidden')
Expand Down
2 changes: 1 addition & 1 deletion examples/js/jquery.orgchart.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
'height': flag ? sourceChart.clientWidth : sourceChart.clientHeight,
'onclone': function(cloneDoc) {
$(cloneDoc).find('.canvasContainer').css('overflow', 'visible')
.find('.orgchart').css('transform', '');
.find('.orgchart:visible:first').css('transform', '');
},
'onrendered': function(canvas) {
$chartContainer.find('.mask').addClass('hidden')
Expand Down

0 comments on commit 5dbb80d

Please sign in to comment.