Commit 920ded5c authored by frjo's avatar frjo
Browse files

#987794: Remove fixed width/height for Login-block/form. Instead add initial...

#987794: Remove fixed width/height for Login-block/form. Instead add initial width/height so it looks nicer when opening.
parent b2406dd8
......@@ -6,8 +6,8 @@ Drupal.behaviors.initColorboxLogin = {
$("a[href*='/user/login'], a[href*='?q=user/login']", context).once('init-colorbox-login-processed', function () {
this.href = this.href.replace(/user\/login/,"user/login/colorbox");
}).colorbox({
innerWidth:250,
innerHeight:230,
initialWidth:200,
initialHeight:200,
onComplete:function(){
$('#edit-name').focus();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment