Skip to content

Commit

Permalink
removed unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
joaogabrielti committed Nov 25, 2020
1 parent d3bac1f commit 765c6d5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions public/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -574,10 +574,6 @@ function download(items) {
});
}

function open(item) {

This comment has been minimized.

Copy link
@joaogabrielti

joaogabrielti Nov 25, 2020

Author

Removing unused function because it was preventing the user from opening a file in another window by double-clicking it.

goTo(item.url);
}

function preview(items) {
var carousel = $('#carouselTemplate').clone().attr('id', 'previewCarousel').removeClass('d-none');
var imageTemplate = carousel.find('.carousel-item').clone().removeClass('active');
Expand Down

0 comments on commit 765c6d5

Please sign in to comment.