зеркало из https://github.com/mozilla/gecko-dev.git
bug 277847 - Stop button activated when middle clicking inside blank tab, don't invoke autoscroll for about:blank
This commit is contained in:
Родитель
63a1001a43
Коммит
c583b057f9
|
@ -837,7 +837,9 @@
|
|||
if (this._isScrolling) {
|
||||
stopScroll();
|
||||
} else if (event.button == 1) {
|
||||
if (!this.autoscrollEnabled || this.isAutoscrollBlocker(event.originalTarget))
|
||||
if (!this.autoscrollEnabled ||
|
||||
this.currentURI.spec == "about:blank"||
|
||||
this.isAutoscrollBlocker(event.originalTarget))
|
||||
return;
|
||||
|
||||
this._startX = event.clientX;
|
||||
|
|
Загрузка…
Ссылка в новой задаче