mirror of
https://github.com/Modernizr/Modernizr.git
synced 2026-01-09 15:47:55 -05:00
Fix for input-formtarget detection. "T" in target must be uppercase, like formEnctype and formAction already are. (#2163)
This commit is contained in:
@@ -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']});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user