Skip to content

Commit

Permalink
plugin changes
Browse files Browse the repository at this point in the history
Plugin chenges
  • Loading branch information
pekebyte committed Jan 29, 2013
1 parent f3be9ca commit 01d03e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/pekeUpload.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
// dataType: 'json',
success: function(data){
var percent = 100;
$('.pekeup-progress-bar:last').width(percent+'%');
$('.pekeup-progress-bar:last').text(percent+"%");
$('.pekeup-progress-bar:first').width(percent+'%');
$('.pekeup-progress-bar:first').text(percent+"%");
},
xhr: function() { // custom xhr
myXhr = $.ajaxSettings.xhr();
Expand All @@ -78,8 +78,8 @@
var total = e.total;
var loaded = e.loaded;
var percent = (e.loaded * 100)/e.total;
$('.pekeup-progress-bar:last').width(percent+'%');
$('.pekeup-progress-bar:last').text(percent+"%");
$('.pekeup-progress-bar:first').width(percent+'%');
$('.pekeup-progress-bar:first').text(percent+"%");
}
}
};
Expand Down

0 comments on commit 01d03e3

Please sign in to comment.