| changeset 115 | e48bb5d43ac2 |
| parent 104 | 1b84c7b2aeee |
| child 154 | 60ca7678f074 |
--- a/integration/js/common.js Wed Dec 05 13:21:21 2012 +0100 +++ b/integration/js/common.js Wed Dec 05 13:54:59 2012 +0100 @@ -11,6 +11,12 @@ return false; }); + $(document).click(function(e) { + if(!$(e.target).parents(".popin").length) { + $(".popin").hide(); + } + }); + $(".change-account").click(function() { $(".user-screen").hide(); $(".user-screen.login").show();