You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
334 B
9 lines
334 B
7 years ago
|
|
||
|
// a[download] attribute
|
||
|
// When used on an <a>, this attribute signifies that the resource it
|
||
|
// points to should be downloaded by the browser rather than navigating to it.
|
||
|
// http://developers.whatwg.org/links.html#downloading-resources
|
||
|
// By Addy Osmani
|
||
|
|
||
|
Modernizr.addTest('adownload', 'download' in document.createElement('a'));
|