You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var $inputs = [].slice.call( document.querySelectorAll('input[type="time"]') );
107
-
$inputs.forEach(function($input){
110
+
var $$inputs = [].slice.call( document.querySelectorAll('input[type="time"]') );
111
+
$$inputs.forEach(function($input){
108
112
newTimePolyfill($input);
109
113
})
110
114
}
@@ -122,7 +126,7 @@ In browsers that support the time input natively, they will provide the `value`
122
126
123
127
If this isn't working for you, you can prevent the auto-swap functionality by setting `$input.polyfill.autoSwap = false`. You can access the current input value in 24 hour time format by reading the `data-value` attribute.
124
128
125
-
You can also switch the `$input` manually to 24 hour time using `$input.polyfill.swap()`. The polyfill does not function properly at the moment while running in 24 hour time. 24 hour time is only meant to be used as a means of submitting correct values to forms. It is not intended to be used as a permanent mode (at least not yet).
129
+
You can also switch the `$input` manually to 24 hour time using `$input.polyfill.swap()`. The polyfill does not function properly at the moment while running in 24 hour time. 24 hour time is only meant to be used as a means of submitting correct values to forms. It is not intended to be used as a permanent mode.
126
130
127
131
### You must call `$input.polyfill.update()` on dynamic inputs
0 commit comments