From ddf539ae5f3baa18c18046be259f96de1aa1edd8 Mon Sep 17 00:00:00 2001 From: Piro / SHIMODA Hiroshi Date: Sat, 28 Jan 2012 04:48:21 +0900 Subject: [PATCH] add comment --- modules/browser.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/browser.js b/modules/browser.js index cd780c64..a62cba8d 100644 --- a/modules/browser.js +++ b/modules/browser.js @@ -2566,6 +2566,12 @@ TreeStyleTabBrowser.prototype = { this.updateTabCollapsed(tab, true, true); let self = this; this.updateTabCollapsed(tab, false, this.windowService.restoringTree, function() { + /** + * When the system is too slow, the animation can start after + * smooth scrolling is finished. However, the smooth scrolling + * should be started together with the start of the animation + * effect. + */ self.scrollToNewTab(tab); }); }