summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorRobert Zorko <robertz@gurucue.com>2015-10-13 16:07:18 +0200
committerRobert Zorko <robertz@gurucue.com>2015-10-13 16:07:18 +0200
commite0db123e858bbac40acd66aa43f77b0c2d98a039 (patch)
tree81b190cac254384413dc4eae04148533a1fe7d5b /js
parent0132e0057fb6fea7a2b958335d8190928ef4c673 (diff)
hiding the meni dropdowns in the login screen
Diffstat (limited to 'js')
-rw-r--r--js/codeq/login.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/codeq/login.js b/js/codeq/login.js
index 32b821d..62d15b4 100644
--- a/js/codeq/login.js
+++ b/js/codeq/login.js
@@ -49,6 +49,7 @@
codeq.globalStateMachine.register('login',{
'enter': function(){
$('#navigation-home').off('click');//remove the click listener of this element here only - in each other state the listener should exist
+ $('.nav.navbar-nav.navbar-right').css('display','none');
$('#signed-in-title').html('');
$("#submit").on('click', loginFun);
formInputs.on('keyup', function (ev) {
@@ -72,6 +73,7 @@
codeq.globalStateMachine.transition('language');
e.preventDefault();
});
+ $('.nav.navbar-nav.navbar-right').css('display','');
}
});
})();