This commit is contained in:
Roman Hotsiy 2017-01-31 11:00:17 +02:00
parent 5dbf413706
commit 5bbdc1e2a8
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -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();