From 2809b3fb4bfff39eb2eef28b1f681fbb6355d0f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Pu=C5=A1nik?= Date: Tue, 29 Sep 2015 19:59:06 +0200 Subject: forgotten files from previous commits --- js/codeq/profile.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 js/codeq/profile.js (limited to 'js/codeq') diff --git a/js/codeq/profile.js b/js/codeq/profile.js new file mode 100644 index 0000000..5dcda05 --- /dev/null +++ b/js/codeq/profile.js @@ -0,0 +1,16 @@ +/** + * Created by markop on 9/29/15. + */ + +(function(){ + codeq.globalStateMachine.register('profile',{ + 'enter': function(){ + + $("#screen_profile").css('display', ''); + $('#disabled').css('display', 'none'); + }, + 'exit' : function(){ + $("#screen_profile").css('display', 'none'); + } + }); +})(); \ No newline at end of file -- cgit v1.2.1