diff -r 6f4c35c9a42c -r e48bb5d43ac2 integration/js/common.js --- 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();