diff --git a/demo/main.js b/demo/main.js index 80bc6cb2..9bc97062 100644 --- a/demo/main.js +++ b/demo/main.js @@ -51,10 +51,10 @@ var $specInput = document.getElementById('spec-input'); - // $specInput.addEventListener('value-changed', function(e) { - // schemaUrlInput.value = e.detail.value; - // location.search = updateQueryStringParameter(location.search, 'url', schemaUrlInput.value); - // }); + $specInput.addEventListener('value-changed', function(e) { + schemaUrlInput.value = e.detail.value; + location.search = updateQueryStringParameter(location.search, 'url', schemaUrlInput.value); + }); function selectItem() { let value = this.innerText.trim();