diff --git a/static/js/directives/buddypictureupload.js b/static/js/directives/buddypictureupload.js index b5f944bb..6a1e7673 100644 --- a/static/js/directives/buddypictureupload.js +++ b/static/js/directives/buddypictureupload.js @@ -20,10 +20,6 @@ */ define(['jquery', 'underscore', 'text!partials/buddypictureupload.html'], function($, _, template) { - var getNumFromPx = function(px) { - return px.match(/[\-0-9]+/) ? Number(px.match(/[\-0-9]+/)[0]) : 0; - }; - // buddyPictureUpload return ["$compile", function($compile) {