Skip to content

Commit

Permalink
Minify
Browse files Browse the repository at this point in the history
  • Loading branch information
pekebyte committed Jan 29, 2013
1 parent e79889d commit f3be9ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<script type="text/javascript" src="js/pekeUpload.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#file").pekeUpload({url:'upload.php'});
$("#file").pekeUpload();
});
</script>

Expand Down
3 changes: 1 addition & 2 deletions js/pekeUpload.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
var defaults = {
onSubmit: false,
btnText: "Browse files...",
url: "",
url: "upload.php",
theme: "bootstrap",
field: "file",
};
Expand Down Expand Up @@ -59,7 +59,6 @@
var percent = 100;
$('.pekeup-progress-bar:last').width(percent+'%');
$('.pekeup-progress-bar:last').text(percent+"%");
alert(data);
},
xhr: function() { // custom xhr
myXhr = $.ajaxSettings.xhr();
Expand Down

0 comments on commit f3be9ca

Please sign in to comment.