Bug 539996 - Can't pan articles in google reader [r=mfinkle a=stuart]

This commit is contained in:
Fabrice Desré 2010-01-19 14:19:07 -05:00
parent d24e70aaf8
commit ea471fbe68

View File

@ -1365,7 +1365,7 @@ Browser.MainDragger.prototype = {
oAuto = (overflow == "auto") || (overflowX == "auto") || (overflowY == "auto");
if (oScroll ||
(oAuto && (cbr.height < target.scrollHeight || cbr.width < target.scrollWidth))) {
(oAuto && (cbr.height < htmlElement.scrollHeight || cbr.width < htmlElement.scrollWidth))) {
this.contentScrollbox = this._createDivScrollBox(htmlElement);
return;
}