Bug 534502 - No autoscroll in print preview anymore, r=mconnor

--HG--
extra : rebase_source : c182076b6ce400d7adc0b2fd0e518793bdfd5ced
This commit is contained in:
Olli Pettay 2009-12-17 18:39:19 +02:00
parent fb30c7b8e4
commit 8503825001

View File

@ -1124,8 +1124,7 @@
<handler event="mousedown" phase="capturing">
<![CDATA[
if (!this._scrollable && event.button == 1) {
if (!this.autoscrollEnabled ||
this.currentURI.spec == "about:blank"||
if (!this.autoscrollEnabled ||
this.isAutoscrollBlocker(event.originalTarget))
return;