diff options
Diffstat (limited to 'js/vendor/jquery/src/core/support.js')
-rw-r--r-- | js/vendor/jquery/src/core/support.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/js/vendor/jquery/src/core/support.js b/js/vendor/jquery/src/core/support.js deleted file mode 100644 index 0609a700b..000000000 --- a/js/vendor/jquery/src/core/support.js +++ /dev/null @@ -1,18 +0,0 @@ -define( [ - "../var/document", - "../var/support" -], function( document, support ) { - -// Support: Safari 8+ -// In Safari 8 documents created via document.implementation.createHTMLDocument -// collapse sibling forms: the second one becomes a child of the first one. -// Because of that, this security measure has to be disabled in Safari 8. -// https://bugs.webkit.org/show_bug.cgi?id=137337 -support.createHTMLDocument = ( function() { - var body = document.implementation.createHTMLDocument( "" ).body; - body.innerHTML = "<form></form><form></form>"; - return body.childNodes.length === 2; -} )(); - -return support; -} ); |