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:
@@ -47,7 +47,7 @@
|
|||||||
height: textarea.height(),
|
height: textarea.height(),
|
||||||
'class': textarea.attr('class'),
|
'class': textarea.attr('class'),
|
||||||
'id': 'gollum-editor-body-ace'
|
'id': 'gollum-editor-body-ace'
|
||||||
}).insertBefore(textarea);
|
}).insertAfter(textarea);
|
||||||
textarea.css('display', 'none');
|
textarea.css('display', 'none');
|
||||||
|
|
||||||
// NOTE: This requires the page to have only one 'gollum-editor-body'.
|
// 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 */
|
/* @section uploads */
|
||||||
|
|
||||||
#gollum-editor-body {
|
#gollum-editor-body-ace {
|
||||||
& + div {
|
& + div {
|
||||||
display: none;
|
display: none;
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
@@ -502,4 +502,4 @@ a#function-search { @include editor-button(16); }
|
|||||||
margin: 0 0 1em 0;
|
margin: 0 0 1em 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user