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

When the screen resizes, update the button size as well.

parent 5d9c16e4
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