Bug 895827 - pass null if we don't have a placement, r=jaws

This commit is contained in:
Gijs Kruitbosch 2013-07-24 16:58:15 +02:00
parent cf893271fe
commit df11c8424a

View File

@ -875,8 +875,7 @@ CustomizeMode.prototype = {
if (!placement) {
LOG("Could not get a position for " + aTargetNode + "#" + aTargetNode.id + "." + aTargetNode.className);
}
let position = placement ? placement.position :
aTargetArea.childElementCount;
let position = placement ? placement.position : null;
// Is the target area the same as the origin? Since we've already handled