Fix check for the override target in the "appropriate location for inserting node"

This commit is contained in:
iska
2015-03-22 00:20:10 +01:00
parent 30f7bba377
commit 8e427cbb3f
+1 -1
View File
@@ -239,7 +239,7 @@
beforeChildNode:(out HTMLElement * __autoreleasing *)child
{
HTMLElement *target = self.currentNode;
if (overrideTarget == nil) {
if (overrideTarget != nil) {
target = overrideTarget;
}