mirror of
https://github.com/ysoftdevs/pf2015.git
synced 2026-03-13 05:45:08 +01:00
fix return completed level
This commit is contained in:
@@ -30,6 +30,11 @@ angular.module('level-complete', [])
|
||||
$rootScope.$emit('startLevel', args);
|
||||
};
|
||||
|
||||
$scope.cancelLevel = function() {
|
||||
$scope.isLevelCompleteVisible = false;
|
||||
};
|
||||
|
||||
$rootScope.$on('completeLevel', $scope.completeLevel);
|
||||
$rootScope.$on('cancelLevel', $scope.cancelLevel);
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user