From c75a47d95fd0cb8cac8657732b169602bfa325a3 Mon Sep 17 00:00:00 2001 From: FezVrasta Date: Tue, 4 Nov 2014 10:51:29 +0100 Subject: [PATCH] more specific selector to avoid problems --- scripts/material.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/material.js b/scripts/material.js index 6cb3804b..e51dd9bb 100644 --- a/scripts/material.js +++ b/scripts/material.js @@ -71,7 +71,7 @@ }); $(document) - .on("change", ".checkbox input", function() { $(this).blur(); }) + .on("change", ".checkbox input[type=checkbox]", function() { $(this).blur(); }) .on("keydown paste", ".form-control", function(e) { if(_isChar(e)) { $(this).removeClass("empty");