Remove dead code
This commit is contained in:
@@ -872,12 +872,10 @@ define(['browser', 'layoutManager', 'dom', 'focusManager', 'ResizeObserver', 'sc
|
||||
if (item === undefined) {
|
||||
this.slideTo(this._pos[location], immediate);
|
||||
} else {
|
||||
|
||||
//if (!transform) {
|
||||
|
||||
// item.scrollIntoView();
|
||||
// return;
|
||||
//}
|
||||
if (!transform) {
|
||||
item.scrollIntoView();
|
||||
return;
|
||||
}
|
||||
|
||||
var itemPos = this.getPos(item);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user