Make Facebook login popup taller

This commit is contained in:
riking 2014-03-23 21:59:13 -07:00
parent a3344a6be3
commit c978eade56
1 changed files with 4 additions and 2 deletions

View File

@ -44,6 +44,8 @@ Discourse.LoginMethod.reopenClass({
if (name === "google") { if (name === "google") {
params.frameWidth = 850; params.frameWidth = 850;
params.frameHeight = 500; params.frameHeight = 500;
} else if (name === "facebook") {
params.frameHeight = 420;
} }
methods.pushObject(Discourse.LoginMethod.create(params)); methods.pushObject(Discourse.LoginMethod.create(params));