Fix NPE
This commit is contained in:
parent
a500477bbc
commit
d714c00ddb
1 changed files with 4 additions and 4 deletions
|
@ -148,11 +148,11 @@
|
|||
|
||||
// Watch for changes to the repository.
|
||||
$scope.$watch('repo', function() {
|
||||
if ($scope.tree) {
|
||||
$timeout(function() {
|
||||
$timeout(function() {
|
||||
if ($scope.tree) {
|
||||
$scope.tree.notifyResized();
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// Watch for changes to the tag parameter.
|
||||
|
|
Reference in a new issue