Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
francescou committed Jun 24, 2016
1 parent 54100e5 commit 362e090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/scripts/controllers/main.js
Expand Up @@ -13,7 +13,7 @@ angular.module('composeUiApp')
var Projects = $resource('api/v1/projects');

$scope.isActive = function (id, l) {
return l.indexOf(id.replace('-', '')) >= 0;
return l.indexOf(id.replace(/\-/g, '')) >= 0;
};

function reload(init) {
Expand Down

0 comments on commit 362e090

Please sign in to comment.