From 598199530044c2c9d40132be15cd5a7c210e95e4 Mon Sep 17 00:00:00 2001 From: Hixie Date: Fri, 24 Oct 2014 16:23:03 -0700 Subject: [PATCH] Enter a description of the change. Docs: Fix the script in the example to actually clone the template contents, not the template element itself. Review URL: https://codereview.chromium.org/680673002 --- engine/src/flutter/examples/radio.sky | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/examples/radio.sky b/engine/src/flutter/examples/radio.sky index 0cd15d04ff7..5920e50e97e 100644 --- a/engine/src/flutter/examples/radio.sky +++ b/engine/src/flutter/examples/radio.sky @@ -14,7 +14,7 @@ SKY MODULE - radio button and radio button group module.exports.RadioElement = sky.registerElement('radio', class extends Element { constructor () { this.addEventListener('click', (event) => this.checked = true); - this.createShadowTree().appendChild(module.document.findId('radio-shadow').cloneNode(true)); + this.createShadowTree().appendChild(module.document.findId('radio-shadow').content.cloneNode(true)); } get checked () { return this.hasAttribute('checked');