spee.ch/public/assets/js/dropzoneFunctions.js

11 lines
486 B
JavaScript
Raw Normal View History

2017-10-26 16:08:38 -07:00
function preview_onmouseenter_handler () {
2017-10-30 10:07:23 -07:00
document.getElementById('asset-preview-dropzone-instructions').setAttribute('class', 'flex-container--column flex-container--center-center position-absolute');
2017-10-26 16:08:38 -07:00
document.getElementById('asset-preview').style.opacity = 0.2;
}
function preview_onmouseleave_handler () {
document.getElementById('asset-preview-dropzone-instructions').setAttribute('class', 'hidden');
document.getElementById('asset-preview').style.opacity = 1;
}