Bug 892841 - Break out of the toolbox children loop when we find the palette. r=dao

This commit is contained in:
Jared Wein 2013-07-12 11:59:51 -04:00
parent ea7f84839d
commit 8eed02dcb7

View File

@ -49,6 +49,7 @@
// Hold on to the palette but remove it from the document.
toolbox.palette = node;
toolbox.removeChild(node);
break;
}
}
}