parent
e1be03f25a
commit
4ccf8fe558
6 changed files with 45 additions and 9 deletions
@ -0,0 +1,14 @@ |
|||||||
|
import BlockImages from '../components/blocks/BlockImages.vue'; |
||||||
|
import $ from 'jquery'; |
||||||
|
import {api} from "./modules/api"; |
||||||
|
|
||||||
|
window.LIL_STORE.components['block-images'] = BlockImages; |
||||||
|
|
||||||
|
$(document).ready(function () { |
||||||
|
$('#gallery-save').click(e => { |
||||||
|
e.preventDefault(); |
||||||
|
api.saveUserGallery(window.LIL_STORE._user_gallery_images).then(response => { |
||||||
|
window.location.href = '/user/profile/#works'; |
||||||
|
}); |
||||||
|
}); |
||||||
|
}); |
||||||
Loading…
Reference in new issue