Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve _showDownloadBtn method #3

Open
adi130987 opened this issue Feb 28, 2017 · 0 comments
Open

Improve _showDownloadBtn method #3

adi130987 opened this issue Feb 28, 2017 · 0 comments

Comments

@adi130987
Copy link
Collaborator

Change request from Marko:

_showDownloadBtn: function(file) {
         var newFile = _.get(file,'file_name');
         if ((file && typeof file.path === 'string' && file.path !== '') || newFile) {
           return true;
         }
         return false;
       }

this will prevent the new uploaded file shown at the bottom of the list from overflowing its container
because it doesnt get that only-selected class added on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant