mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-28 04:20:32 +02:00
[ticket/11915] Make the user aware of the drag-and-drop zone.
PHPBB3-11915
This commit is contained in:
@@ -26,6 +26,11 @@ phpbb.plupload.initialize = function() {
|
||||
|
||||
// Initialize the Plupload uploader.
|
||||
uploader.init();
|
||||
|
||||
// Point out the drag-and-drop zone if it's supported.
|
||||
if (!uploader.features.dragdrop) {
|
||||
$('#drag-n-drop-message').show();
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user