Skip to content

Commit

Permalink
correção safari
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusmirandaalmeida committed Jun 29, 2017
1 parent 9c22477 commit be98e67
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simple-image-ng",
"version": "1.0.3",
"version": "1.0.4",
"description": "src/index.js",
"main": "index.js",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion dist/simple-image-ng.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simple-image-ng",
"version": "1.0.3",
"version": "1.0.4",
"description": "",
"main": "src/index.js",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/simple-image.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function simpleImage($timeout, $uibModal, $http, $rootScope, $element, $scope) {
var ctrl = this, inputFile;


navigator.getUserMedia = navigator.getUserMedia || navigator.mediaDevices.getUserMedia || navigator.webkitGetUserMedia;
navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia;
window.URL = window.URL || window.webkitURL || window.mozURL || window.msURL;

ctrl.buttonText = ctrl.buttonText || 'Alterar Foto';
Expand Down

0 comments on commit be98e67

Please sign in to comment.