Merge pull request #1341 from ProgramFan/5.x

Fix absense of visual feedback when uploading with drag-and-drop. Fixes #1327.
This commit is contained in:
Bart Kamphorst
2018-10-30 12:46:43 +01:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
@@ -47,7 +47,7 @@
height: textarea.height(),
'class': textarea.attr('class'),
'id': 'gollum-editor-body-ace'
}).insertBefore(textarea);
}).insertAfter(textarea);
textarea.css('display', 'none');
// NOTE: This requires the page to have only one 'gollum-editor-body'.
@@ -374,7 +374,7 @@ a#function-search { @include editor-button(16); }
/* @section uploads */
#gollum-editor-body {
#gollum-editor-body-ace {
& + div {
display: none;
font-size: 1.5em;
@@ -502,4 +502,4 @@ a#function-search { @include editor-button(16); }
margin: 0 0 1em 0;
padding: 0;
}
}
}