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

27 lines
546 B
JavaScript

$(document).ready(function () {
$('.ajax-load').each(function () {
$self = $(this);
$.ajax({
dataType: "json",
url: $self.data('src'),
context: $self
}).done(function(data) {
$(this).html(data);
});
})
});
$(document).ajaxComplete(function () {
$('.image.load img')
.visibility({
type : 'image',
transition : 'fade in',
duration : 1000
})
;
$('.ui.rating')
.rating("disable")
;
});