grim/port-authority

correctly look for http and https not http and http
develop
2015-01-19, Gary Kramlich
3be9115746ac
correctly look for http and https not http and http
  • +1 -1
    js/app.js
  • --- a/js/app.js Tue Dec 23 23:37:46 2014 -0600
    +++ b/js/app.js Mon Jan 19 21:49:29 2015 -0600
    @@ -58,7 +58,7 @@
    $scope.tags = null;
    $scope.clipboard = null;
    - if($scope.registry.indexOf("http://") !== 0 && $scope.registry.indexOf("http://") !== 0) {
    + if($scope.registry.indexOf("http://") !== 0 && $scope.registry.indexOf("https://") !== 0) {
    $scope.registry = "http://" + $scope.registry;
    }