Commit 1455f7d700bb96e18827e7877ede9d77e8e507f3

Authored by Hayk Nazaryan
1 parent f7e643c97f
Exists in master

fix autolift telegram time input

Showing 2 changed files with 4 additions and 2 deletions Side-by-side Diff

public/js/script-vc.js
... ... @@ -161,7 +161,9 @@ let scripts = function () {
161 161 if (i < optionVal) {
162 162 input.disabled = false;
163 163 } else {
164   - input.disabled = true;
  164 + if (!input.classList.contains('time-send-tg')) {
  165 + input.disabled = true;
  166 + }
165 167 }
166 168  
167 169 });
resources/views/employers/vacancy_autolift.blade.php
... ... @@ -151,7 +151,7 @@
151 151 <input
152 152 name="time_send_tg"
153 153 type="text"
154   - class="input js-picker"
  154 + class="input js-picker time-send-tg"
155 155 placeholder="Время"
156 156 value="{{ $options['time_send_tg'] }}"
157 157 >