whitespace cleanup after bug 555081

This commit is contained in:
Dão Gottwald 2010-06-29 17:11:49 +02:00
Родитель e516ba1374
Коммит 7fab289903
1 изменённых файлов: 6 добавлений и 7 удалений

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

@ -53,10 +53,10 @@ WindowDraggingElement.prototype = {
"radiogroup", "deck", "scrollbox", "arrowscrollbox", "tabs"],
shouldDrag: function(aEvent) {
if (aEvent.button != 0 ||
this._window.fullScreen ||
!this.mouseDownCheck.call(this._elem, aEvent) ||
aEvent.getPreventDefault())
return false;
this._window.fullScreen ||
!this.mouseDownCheck.call(this._elem, aEvent) ||
aEvent.getPreventDefault())
return false;
// Maybe we have been removed from the document
if (!this._elem._alive)
@ -80,9 +80,8 @@ WindowDraggingElement.prototype = {
},
handleEvent: function(aEvent) {
#ifdef XP_WIN
if (this.shouldDrag(aEvent)) {
aEvent.preventDefault();
}
if (this.shouldDrag(aEvent))
aEvent.preventDefault();
#else
switch (aEvent.type) {
case "mousedown":