зеркало из https://github.com/mozilla/pjs.git
Fixing js strict warning about function not always returning a value. sr=ben
This commit is contained in:
Родитель
76fe0c7cee
Коммит
5ac004ec45
|
@ -246,7 +246,7 @@ var personalToolbarObserver = {
|
|||
if (aEvent.target.parentNode != inner && aEvent.target != inner)
|
||||
{
|
||||
aDragSession.canDrop = false;
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this.mCurrentDragOverButton != aEvent.target ||
|
||||
|
|
|
@ -165,6 +165,7 @@ var contentAreaDNDObserver = {
|
|||
|
||||
// we use the url for text/unicode data if an anchor is being dragged, rather than
|
||||
// the title text of the link or the alt text for an anchor image.
|
||||
return true;
|
||||
},
|
||||
|
||||
onDragOver: function (aEvent, aFlavour, aDragSession)
|
||||
|
|
Загрузка…
Ссылка в новой задаче