Skip to content
Snippets Groups Projects
Commit eb39c5c0 authored by Sean McArthur's avatar Sean McArthur
Browse files

Merge pull request #2074 from mozilla/issue_2066_remember_you_mobile

When the screen resizes, update the button size as well.
parents a45619be 357bca27
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,9 @@ BrowserID.Modules.IsThisYourComputer = (function() {
self.click("#this_is_not_my_computer", self.no);
// Force all the buttons to be of equal width
self.bind(window, "resize", function() {
domHelpers.makeEqualWidth("#your_computer_content button");
});
domHelpers.makeEqualWidth("#your_computer_content button");
Module.sc.start.call(self, options);
......
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