Skip to content

Commit 827539a

Browse files
committed
Stop using jquery for style manipulation
1 parent 507b919 commit 827539a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nbgitpuller/static/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ GitSyncView.prototype.setTerminalVisibility = function(visible) {
9595

9696
GitSyncView.prototype.setProgressValue = function(val) {
9797
this.progress.setAttribute('aria-valuenow', val);
98-
$(this.progress).css('width', val + '%');
98+
this.progress.style.width = val + '%';
9999
};
100100

101101
GitSyncView.prototype.getProgressValue = function() {

0 commit comments

Comments
 (0)