Broadway: Fix handling of debug nodes

The debug nodes have id BROADWAY_NODE_DEBUG, which happens to be "12".
So, don't hardcode the wrong number "14".
This commit is contained in:
Alexander Larsson 2020-08-26 14:01:00 +02:00
parent f48a1e4069
commit 918996b047

View File

@ -809,7 +809,7 @@ TransformNodes.prototype.insertNode = function(parent, previousSibling, is_tople
}
break;
case 14: // DEBUG
case BROADWAY_NODE_DEBUG:
{
var str = this.decode_string();
var div = this.createDiv(id);