From f4765cbe4362e90b37908637bdf4beff78ae6574 Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Wed, 25 Mar 2015 10:05:02 -0500 Subject: [PATCH] Revert "placeholder for future optimization" This reverts commit cadd7574692e4bba6c7188e717947c3848f8cc56. --- source/js/Core/Slider/VMM.Slider.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/js/Core/Slider/VMM.Slider.js b/source/js/Core/Slider/VMM.Slider.js index 4a4abcb..fe149c8 100644 --- a/source/js/Core/Slider/VMM.Slider.js +++ b/source/js/Core/Slider/VMM.Slider.js @@ -689,8 +689,6 @@ if(typeof VMM != 'undefined' && typeof VMM.Slider == 'undefined') { } else { VMM.Lib.css(layout, "overflow-y", "hidden" ); var scroll_height = 0; - - // FIXME: Chrome cannot optimize this try/catch block, which appears to be unnecessary – see https://github.com/NUKnightLab/TimelineJS/pull/681#issuecomment-52365420 try { scroll_height = VMM.Lib.prop(layout, "scrollHeight"); VMM.Lib.animate(layout, _duration, _ease, {scrollTop: scroll_height - VMM.Lib.height(layout) });