mirror of
https://github.com/ToxicCrack/PrintABrick.git
synced 2025-05-18 05:10:07 -07:00
43 lines
834 B
JavaScript
43 lines
834 B
JavaScript
$(document).ready(function(){
|
|
$('.ui.dropdown')
|
|
.dropdown('restore defaults')
|
|
;
|
|
|
|
$('.image.load img')
|
|
.visibility({
|
|
type : 'image',
|
|
transition : 'fade in',
|
|
duration : 1000
|
|
})
|
|
;
|
|
|
|
$('.ui.rating')
|
|
.rating("disable")
|
|
;
|
|
|
|
$('.tabular.menu .item').tab();
|
|
|
|
$('.tabular.submenu .item').tab({
|
|
});
|
|
|
|
$('.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')
|
|
;
|
|
}); |