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
59dea9a31f
commit
8d9285b294
|
@ -10,7 +10,7 @@
|
|||
{{#if (or (eq (left-trim item.Key parent.Key) '') (not-eq (last item.Key) '/')) }}
|
||||
<div>
|
||||
<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>
|
||||
</label>
|
||||
<label class="type-text{{if item.error.Value ' has-error'}}">
|
||||
|
|
Loading…
Reference in a new issue