You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
451 B
14 lines
451 B
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.data.userGalleryImages).then(response => {
|
|
window.location.href = '/user/profile/#works';
|
|
});
|
|
});
|
|
});
|
|
|