Chromium Code Reviews| Index: chrome/browser/resources/extensions/extension_options_overlay.js |
| diff --git a/chrome/browser/resources/extensions/extension_options_overlay.js b/chrome/browser/resources/extensions/extension_options_overlay.js |
| index e51e8c09e7b675411d5e6bac4b039f93bed4d9b1..eb15741494d56b13a29cacee6ee97211b873681a 100644 |
| --- a/chrome/browser/resources/extensions/extension_options_overlay.js |
| +++ b/chrome/browser/resources/extensions/extension_options_overlay.js |
| @@ -131,7 +131,7 @@ cr.define('extensions', function() { |
| // the overlay. It is calculated by multiplying the pythagorean distance |
| // between old and the new size (in px) with a constant speed of |
| // 0.25 ms/px. |
| - var loading = document.documentElement.classlist.contains('loading'); |
| + var loading = document.documentElement.classList.contains('loading'); |
|
Dan Beam
2015/02/05 20:33:35
dammit
|
| var animationTime = loading ? 0 : |
| 0.25 * Math.sqrt(Math.pow(newWidth - oldWidth, 2) + |
| Math.pow(newHeight - oldHeight, 2)); |