Bug 778257 - Fix javascript warning because of function returning inconsistent types. r=margaret

This commit is contained in:
Kartikaya Gupta 2012-08-07 13:30:45 -04:00
parent 537ec57701
commit 089f9a73a4

View File

@ -1805,7 +1805,7 @@ var SelectionHandler = {
// aX/aY are in top-level window browser coordinates
endSelection: function sh_endSelection(aX, aY) {
if (!this._active)
return;
return "";
this._active = false;
this.hideHandles();