Commit 1e761121 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Turn of scrolling animation.

As suggested in: https://github.com/senchalabs/jsduck/issues/38

I feel it's a bit better without the scrolling.  Especially when
clicking on a method in search results, in which case the scrolling
was really only a distraction.
parent 92a2524f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ Ext.define('Docs.view.cls.Overview', {
            var scrollOffset = el.getY() - (isMember ? 145 : 135);
            var docContent = this.getEl().down('.x-panel-body');
            var currentScroll = docContent.getScroll()['top'];
            docContent.scrollTo('top', currentScroll + scrollOffset, true);
            docContent.scrollTo('top', currentScroll + scrollOffset);

            if (isMember && el.down(".expandable")) {
                el.addCls('open');