[placeDisplay] Add missing return statements

Otherwise we get a warning.
This commit is contained in:
Colin Walters 2010-03-18 14:04:35 -04:00
parent ddfe9442fa
commit 1f274c04fb

View File

@ -460,6 +460,7 @@ DashPlaceDisplayItem.prototype = {
let [stageX, stageY] = event.get_coords(); let [stageX, stageY] = event.get_coords();
this._dragStartX = stageX; this._dragStartX = stageX;
this._dragStartY = stageY; this._dragStartY = stageY;
return false;
}, },
_onButtonRelease: function(actor, event) { _onButtonRelease: function(actor, event) {
@ -468,6 +469,7 @@ DashPlaceDisplayItem.prototype = {
this._dragStartX = null; this._dragStartX = null;
this._dragStartY = null; this._dragStartY = null;
return false;
}, },
_onHoverChanged: function(button) { _onHoverChanged: function(button) {