updated modal
This commit is contained in:
parent
7ad63ae004
commit
0e5202c470
10 changed files with 38 additions and 28 deletions
|
@ -157,7 +157,7 @@ export default function(state, emitter) {
|
|||
if (password) {
|
||||
emitter.emit('password', { password, file: ownedFile });
|
||||
}
|
||||
state.modal = copyDialog(ownedFile.url);
|
||||
state.modal = copyDialog(ownedFile.name, ownedFile.url);
|
||||
state.animation = () => {
|
||||
const x = document.querySelector('.foo');
|
||||
const y = x.previousElementSibling;
|
||||
|
@ -177,7 +177,6 @@ export default function(state, emitter) {
|
|||
fill: 'both'
|
||||
});
|
||||
};
|
||||
// emitter.emit('pushState', `/share/${ownedFile.id}`);
|
||||
} catch (err) {
|
||||
if (err.message === '0') {
|
||||
//cancelled. do nothing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue