Commit 88946b4b authored by frjo's avatar frjo

#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 5686c354
......@@ -3,12 +3,12 @@
Drupal.behaviors.initColorboxLogin = function (context) {
$("a[href*='/user/login'], a[href*='?q=user/login']", context).colorbox({
innerWidth:250,
innerHeight:230,
onComplete:function(){
initialWidth:200,
initialHeight:200,
onComplete:function () {
$('#edit-name').focus();
}
}).each(function() {
}).each(function () {
this.href = this.href.replace(/user\/login/,"user/login/colorbox");
});
};
......
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