Browse Source

Rework clearing of file text.

pull/107/head
Evan Theurer 11 years ago
parent
commit
b25a78650b
  1. 2
      static/js/directives/buddypictureupload.js

2
static/js/directives/buddypictureupload.js

@ -119,7 +119,7 @@ define(['jquery', 'underscore', 'text!partials/buddypictureupload.html', 'bootst @@ -119,7 +119,7 @@ define(['jquery', 'underscore', 'text!partials/buddypictureupload.html', 'bootst
};
var clearPicture = function() {
$(".file-input-name").get(0).innerHTML = "";
$(".file-input-name").empty();
$scope.imgData = null;
$scope.prevImage.src = "";
$scope.prevImage.style.cssText = null;

Loading…
Cancel
Save