kopia lustrzana https://github.com/wagtail/wagtail
remove modernizr & usage
rodzic
675ece2336
commit
fd8277bcf7
|
@ -99,11 +99,12 @@
|
|||
margin-right: 0.2em;
|
||||
}
|
||||
|
||||
// Applies given rules on hover, except for touch screens.
|
||||
// Relies on feature detection to add a no-touch class on the html element.
|
||||
// Applies given rules on hover, for devices that support hover.
|
||||
@mixin hover {
|
||||
.no-touch &:hover {
|
||||
@content;
|
||||
@media (hover: hover) {
|
||||
a:hover {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -10,8 +10,6 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="robots" content="noindex" />
|
||||
|
||||
<script src="{% versioned_static 'wagtailadmin/js/vendor/modernizr-2.6.2.min.js' %}"></script>
|
||||
|
||||
<link rel="stylesheet" href="{% versioned_static 'wagtailadmin/css/normalize.css' %}" />
|
||||
|
||||
{% block css %}{% endblock %}
|
||||
|
|
|
@ -1,10 +1,4 @@
|
|||
$(function () {
|
||||
// Redirect users that don't support filereader
|
||||
if (!$('html').hasClass('filereader')) {
|
||||
document.location.href = window.fileupload_opts.simple_upload_url;
|
||||
return false;
|
||||
}
|
||||
|
||||
// prevents browser default drag/drop
|
||||
$(document).on('drop dragover', function (e) {
|
||||
e.preventDefault();
|
||||
|
|
|
@ -1,10 +1,4 @@
|
|||
$(function () {
|
||||
// Redirect users that don't support filereader
|
||||
if (!$('html').hasClass('filereader')) {
|
||||
document.location.href = window.fileupload_opts.simple_upload_url;
|
||||
return false;
|
||||
}
|
||||
|
||||
// prevents browser default drag/drop
|
||||
$(document).on('drop dragover', function (e) {
|
||||
e.preventDefault();
|
||||
|
|
Ładowanie…
Reference in New Issue