diff options
-rw-r--r-- | chrome/browser/sync/resources/choose_datatypes.html | 7 | ||||
-rw-r--r-- | chrome/browser/sync/resources/gaia_login.html | 5 |
2 files changed, 7 insertions, 5 deletions
diff --git a/chrome/browser/sync/resources/choose_datatypes.html b/chrome/browser/sync/resources/choose_datatypes.html index 532822f..3306acf 100644 --- a/chrome/browser/sync/resources/choose_datatypes.html +++ b/chrome/browser/sync/resources/choose_datatypes.html @@ -152,9 +152,10 @@ input[type='submit'] { } function advanceThrobber() { - var throbber = document.getElementById('throb'); - throbber.style.backgroundPositionX = - ((parseInt(throbber.style.backgroundPositionX) - 16) % 576) + 'px'; + var throbber = document.getElementById('throb');
+ throbber.style.backgroundPositionX =
+ ((parseInt(getComputedStyle(throbber).backgroundPositionX) - 16) % + 576) + 'px'; } function setStateThrobbing(isThrobbing) { diff --git a/chrome/browser/sync/resources/gaia_login.html b/chrome/browser/sync/resources/gaia_login.html index 6ada2a5..f9de48a 100644 --- a/chrome/browser/sync/resources/gaia_login.html +++ b/chrome/browser/sync/resources/gaia_login.html @@ -57,7 +57,7 @@ width: 16px; height: 16px; background-position: 0px; - margin: 0px 10px 0px 10px" + margin: 0px 10px 0px 10px; } .toppageverticalspace { height: 15px; @@ -138,7 +138,8 @@ function advanceThrobber() { var throbber = document.getElementById('throb'); throbber.style.backgroundPositionX = - ((parseInt(throbber.style.backgroundPositionX) - 16) % 576) + 'px'; + ((parseInt(getComputedStyle(throbber).backgroundPositionX) - 16) % + 576) + 'px'; } function showGaiaLogin(args) { |