Skip to content

Commit

Permalink
add oci icons
Browse files Browse the repository at this point in the history
  • Loading branch information
dabeng committed Jan 20, 2020
1 parent 163e083 commit 45bee67
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dist/js/jquery.orgchart.js
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@
$edge.parent().append('<i class="oci oci-spinner spinner"></i>')
.children().not('.spinner').css('opacity', 0.2);
$chart.data('inAjax', true);
$('.oci-export-btn' + (this.options.chartClass !== '' ? '.' + this.options.chartClass : '')).prop('disabled', true);
$('.oc-export-btn' + (this.options.chartClass !== '' ? '.' + this.options.chartClass : '')).prop('disabled', true);
return true;
},
// terminate loading status for requesting new nodes
Expand All @@ -672,7 +672,7 @@
$node.find('.spinner').remove();
$node.children().removeAttr('style');
this.$chart.data('inAjax', false);
$('.oci-export-btn' + (this.options.chartClass !== '' ? '.' + this.options.chartClass : '')).prop('disabled', false);
$('.oc-export-btn' + (this.options.chartClass !== '' ? '.' + this.options.chartClass : '')).prop('disabled', false);
},
// whether the cursor is hovering over the node
isInAction: function ($node) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/jquery.orgchart.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/jquery.orgchart.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,6 @@ gulp.task('serve', gulp.series('build', function () {
baseDir: paths.demo
}
});
// gulp.watch(paths.srcFiles, gulp.series('build'));
gulp.watch(paths.srcFiles, gulp.series('build'));
gulp.watch(paths.demoFiles, gulp.series('reload'));
}));
4 changes: 2 additions & 2 deletions src/js/jquery.orgchart.js
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@
$edge.parent().append('<i class="oci oci-spinner spinner"></i>')
.children().not('.spinner').css('opacity', 0.2);
$chart.data('inAjax', true);
$('.oci-export-btn' + (this.options.chartClass !== '' ? '.' + this.options.chartClass : '')).prop('disabled', true);
$('.oc-export-btn' + (this.options.chartClass !== '' ? '.' + this.options.chartClass : '')).prop('disabled', true);
return true;
},
// terminate loading status for requesting new nodes
Expand All @@ -672,7 +672,7 @@
$node.find('.spinner').remove();
$node.children().removeAttr('style');
this.$chart.data('inAjax', false);
$('.oci-export-btn' + (this.options.chartClass !== '' ? '.' + this.options.chartClass : '')).prop('disabled', false);
$('.oc-export-btn' + (this.options.chartClass !== '' ? '.' + this.options.chartClass : '')).prop('disabled', false);
},
// whether the cursor is hovering over the node
isInAction: function ($node) {
Expand Down

0 comments on commit 45bee67

Please sign in to comment.