Remove includePadding option.

It's supported by default.
This commit is contained in:
Hyunje Alex Jun
2015-01-24 14:39:13 +00:00
parent 3f002c49a1
commit ff5ca3d804
3 changed files with 2 additions and 7 deletions

View File

@@ -159,8 +159,8 @@ module.exports = function (element, settingOrCommand) {
cls.remove(element, 'ps-active-x');
cls.remove(element, 'ps-active-y');
containerWidth = settings.includePadding ? element.clientWidth : h.toInt(d.css(element, 'width'));
containerHeight = settings.includePadding ? element.clientHeight : h.toInt(d.css(element, 'height'));
containerWidth = element.clientWidth;
containerHeight = element.clientHeight;
contentWidth = element.scrollWidth;
contentHeight = element.scrollHeight;