1
0
mirror of synced 2025-03-10 22:56:12 +03:00

Remove dead code

This call to `$.fn.position` was causing an error in IE 8 because the
`offsetParent` was null on the container for some reason. It's not
needed, so this line of code has been removed.

This should fix the test failures in IE 8.
This commit is contained in:
Kevin Brown 2016-01-01 18:16:51 -05:00
parent e260860789
commit 09ecd3cdb9

View File

@ -128,7 +128,6 @@ define([
var newDirection = null; var newDirection = null;
var position = this.$container.position();
var offset = this.$container.offset(); var offset = this.$container.offset();
offset.bottom = offset.top + this.$container.outerHeight(false); offset.bottom = offset.top + this.$container.outerHeight(false);