Bug 605121 - Panning does not look at the originalTarget [r=mfinkle]

This commit is contained in:
Vivien Nicolas 2011-03-31 03:01:51 +02:00
Родитель c49a92cb4b
Коммит 36dfe8a214
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -195,7 +195,7 @@ MouseModule.prototype = {
// walk up the DOM tree in search of nearest scrollable ancestor. nulls are
// returned if none found.
let [targetScrollbox, targetScrollInterface, dragger]
= ScrollUtils.getScrollboxFromElement(aEvent.target);
= ScrollUtils.getScrollboxFromElement(aEvent.originalTarget);
// stop kinetic panning if targetScrollbox has changed
if (this._kinetic.isActive() && this._dragger != dragger)