Skip to content

Commit c8a2602

Browse files
author
FezVrasta
committed
fixed problem with input file
1 parent 9991242 commit c8a2602

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

dist/js/material.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
var focused;
162162
$(document)
163163
.on("focus", "input", function() {
164-
var $inputs = $(this).parents("form").find("input");
164+
var $inputs = $(this).parents("form").find("input").not("[type=file]");
165165
focused = setInterval(function() {
166166
$inputs.each(function() {
167167
if ($(this).val() !== $(this).attr("value")) {

dist/js/material.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/material.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/material.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
var focused;
162162
$(document)
163163
.on("focus", "input", function() {
164-
var $inputs = $(this).parents("form").find("input");
164+
var $inputs = $(this).parents("form").find("input").not("[type=file]");
165165
focused = setInterval(function() {
166166
$inputs.each(function() {
167167
if ($(this).val() !== $(this).attr("value")) {

0 commit comments

Comments
 (0)