Fix for input-formtarget detection. "T" in target must be uppercase, like formEnctype and formAction already are. (#2163)

This commit is contained in:
André
2018-06-12 10:44:17 +02:00
committed by Veeck
parent 1ff76bde19
commit bc829ef5ee

View File

@@ -19,5 +19,5 @@
Detect support for the formtarget attribute on form inputs, which overrides the form target attribute
*/
define(['Modernizr', 'createElement'], function(Modernizr, createElement) {
Modernizr.addTest('inputformtarget', !!('formtarget' in createElement('input')), {aliases: ['input-formtarget']});
Modernizr.addTest('inputformtarget', !!('formTarget' in createElement('input')), {aliases: ['input-formtarget']});
});