mirror of https://github.com/status-im/consul.git
UI: Bugfix. Fix code toggle in Safari (#4608)
I'd mistakenly changed the checkbox event to listen to oninput, which works in Chrome and Firefox. Changed this back to onchange as it should be.
This commit is contained in:
parent
ca35d04472
commit
5e987965fa
|
@ -10,7 +10,7 @@
|
||||||
{{#if (or (eq (left-trim item.Key parent.Key) '') (not-eq (last item.Key) '/')) }}
|
{{#if (or (eq (left-trim item.Key parent.Key) '') (not-eq (last item.Key) '/')) }}
|
||||||
<div>
|
<div>
|
||||||
<label class="type-toggle">
|
<label class="type-toggle">
|
||||||
<input type="checkbox" name="json" checked={{if json 'checked' }} oninput={{action 'change'}} />
|
<input type="checkbox" name="json" checked={{if json 'checked' }} onchange={{action 'change'}} />
|
||||||
<span>Code</span>
|
<span>Code</span>
|
||||||
</label>
|
</label>
|
||||||
<label class="type-text{{if item.error.Value ' has-error'}}">
|
<label class="type-text{{if item.error.Value ' has-error'}}">
|
||||||
|
|
Loading…
Reference in New Issue