diff --git a/index.html b/index.html
index b8d679f51..d28efeed2 100644
--- a/index.html
+++ b/index.html
@@ -559,10 +559,10 @@
-
+
-
diff --git a/js/controllers/send.js b/js/controllers/send.js
index 9c8850786..cc52b40b2 100644
--- a/js/controllers/send.js
+++ b/js/controllers/send.js
@@ -28,10 +28,7 @@ angular.module('copay.send').controller('SendController',
};
// Detect protocol
- $scope.isHttp = function() {
- var protocol = $window.location.protocol;
- return (protocol.indexOf('http') === 0);
- };
+ $scope.isHttp = ($window.location.protocol.indexOf('http') === 0);
navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia;
window.URL = window.URL || window.webkitURL || window.mozURL || window.msURL;