mirror of
https://github.com/ysoftdevs/pf2015.git
synced 2026-03-20 16:24:35 +01:00
finetune UI design
This commit is contained in:
@@ -19,7 +19,11 @@ angular.module('level-selector', ['LocalStorageModule'])
|
||||
{state:'locked', text:'PF'}
|
||||
];
|
||||
|
||||
$scope.startLevel = function(levelIndex) {
|
||||
$scope.startLevel = function(state, levelIndex) {
|
||||
if (state != 'unlocked') {
|
||||
return;
|
||||
}
|
||||
|
||||
$scope.isLevelSelectorVisible = false;
|
||||
var args = {
|
||||
levelIndex: levelIndex
|
||||
|
||||
Reference in New Issue
Block a user