From 5581f78f41880b53c2cf58c16f425ca44a034889 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 26 Aug 2020 14:01:00 +0200 Subject: [PATCH] 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". --- gdk/broadway/broadway.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/broadway/broadway.js b/gdk/broadway/broadway.js index dcbe42f8d1..3dc6b7d914 100644 --- a/gdk/broadway/broadway.js +++ b/gdk/broadway/broadway.js @@ -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);