Skip to content
Snippets Groups Projects
Commit 8562861d authored by Shane Tomlinson's avatar Shane Tomlinson
Browse files

Only do the animation of the arrow if we are not in mobile mode.

parent 006f27ac
No related branches found
No related tags found
No related merge requests found
......@@ -96,20 +96,27 @@
}
}
// Kick of the assertion fetching/keypair generating while we are shoing
// Kick of the assertion fetching/keypair generating while we are showing
// the animation, hopefully this minimizes the delay the user notices.
identities.getAssertion(email, function(assert) {
assertion = assert;
onComplete();
});
$("#signIn").animate({"width" : "685px"}, "slow", function () {
// post animation
$("body").delay(500).animate({ "opacity" : "0.5"}, "fast", function () {
animationComplete = true;
onComplete();
});
});
var body = $("body");
if(body.innerWidth() > 640) {
$("#signIn").animate({"width" : "685px"}, "slow", function () {
// post animation
body.delay(500).animate({ "opacity" : "0.5"}, "fast", function () {
animationComplete = true;
onComplete();
});
});
}
else {
animationComplete = true;
}
}
function addEmail(element, event) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment