Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
yesnault committed Jun 18, 2013
1 parent 3e59846 commit 0412f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ng-upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ angular.module('ngUpload', [])
// attach function to load event of the iframe
iframe.bind('load', function () {
// get content - requires jQuery
var content = iframe.contents().find('body').html();
var content = iframe.contents().find('body').text();
// execute the upload response function in the active scope
scope.$apply(function () {
fn(scope, { content: content, completed: true});
Expand Down

0 comments on commit 0412f06

Please sign in to comment.