1
0
mirror of https://github.com/ToxicCrack/PrintABrick.git synced 2025-05-17 21:00:09 -07:00
2017-05-22 12:11:59 +02:00

56 lines
1.1 KiB
JavaScript

$(document).ready(function(){
// $('.ui.dropdown')
// .dropdown('restore defaults')
// ;
// $('.select2.dropdown').select2({
// placeholder: 'Select theme',
// allowClear: true
// });
$('.image.load img')
.visibility({
type : 'image',
transition : 'fade in',
duration : 1000
})
;
$('.ui.rating')
.rating("disable")
;
$('.tabular.menu .item').tab({
onVisible: function() {
$('.image img').visibility('refresh');
}
});
$('.tabular.submenu .item').tab({
onVisible: function() {
$('.image img').visibility('refresh');
}
});
$('.message .close')
.on('click', function() {
$(this)
.closest('.message')
.transition('fade')
;
})
;
$('.item-info .download')
.popup({
popup : $('.download.popup'),
on: 'click',
inline: true
})
;
$('.ui.modal')
.modal('attach events', '.ui.open-modal.button', 'show')
;
});