reformat click listeners
This commit is contained in:
parent
dea589df14
commit
3505574f35
|
@ -103,13 +103,9 @@ $(document).ready(function() {
|
|||
});
|
||||
|
||||
// show popup
|
||||
btn.addEventListener('click', e => {
|
||||
toggleShow();
|
||||
});
|
||||
btn.addEventListener('click', toggleShow);
|
||||
// hide popup
|
||||
$popupText.find('.nvm').click(e => {
|
||||
toggleShow();
|
||||
});
|
||||
$popupText.find('.nvm').click(toggleShow);
|
||||
$('#upload-progress').hide();
|
||||
$('#share-link').show();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue